
3 Apr
2009
3 Apr
'09
4:29 a.m.
A barrier, maybe? On Thu, Apr 2, 2009 at 7:57 PM, Jean-Sebastien Stoezel <js.stoezel@gmail.com> wrote:
Thanks for the quick reply. Using conditon variables sounds quite heavy. You need to instantiate a mutex, a condition variable and a flag... Would there be anything wrong with instantiating a semaphore from the interprocess library to provide inter-thread synchronization? By the way, why isn't there any semaphore available in the thread library?