Re: [Live-devel] triggerEvent() race condition

2015-03-18 Thread Robert Smith
I would like to use boost::atomic< T> or std::atomic< T> but unfortunately boost and c++11 are unavailable to me. I agree that std::atomic< T> or the like would be the best way to go though. On 03/18/2015 12:16 AM, Jeff Shanab wrote: I have used boost atomic or just a boost mutex with a scoped

Re: [Live-devel] triggerEvent() race condition

2015-03-18 Thread Jeff Shanab
I have used boost atomic or just a boost mutex with a scoped_lock when I needed to protect, It implements cross platform the best avail on a platform. On Tue, Mar 17, 2015 at 9:07 AM, Robert Smith wrote: > Ok, I will implement my own TaskScheduler class, but operations that > read-modify-wri