[lock-free] Re: Eventcount with timeout

2018-12-27 Thread Artur Brugeman
. Thomasson wrote: > > On Sunday, December 23, 2018 at 9:30:03 PM UTC-8, Artur Brugeman wrote: >> >> Hi Dmitry, >> >> I want to use your eventcount (took the source from intel forum). >> >> Currently I was using semaphores, which allowed me to set w

[lock-free] Eventcount with timeout

2018-12-23 Thread Artur Brugeman
Hi Dmitry, I want to use your eventcount (took the source from intel forum). Currently I was using semaphores, which allowed me to set waiting timeout. Questions: 1. Is the source from intel forum 'the latest and stable'? You had a pretty long discussion there and I'm not sure the posted

Re: [lock-free] SMR pointer storage checked with Relacy race detector.

2015-05-25 Thread Artur Brugeman
may help. Try to build the program with -D_FORTIFY_SOURCE=0 compiler flag. On Fri, May 22, 2015 at 11:18 AM, Artur Brugeman brugeman.ar...@gmail.com wrote: Hello. I'm trying to implement a lock-free pointer storage with safe memory reclamation. That is, whenever a writer tries

[lock-free] SMR pointer storage checked with Relacy race detector.

2015-05-22 Thread Artur Brugeman
Hello. I'm trying to implement a lock-free pointer storage with safe memory reclamation. That is, whenever a writer tries to replace an old pointer with new one, it waits until all readers are done with old pointer, so that old pointed memory can be released safely. To verify the code I'm