
5 Feb
2009
5 Feb
'09
7:26 p.m.
----- Original Message ----- From: "Alexander Bernauer" <alex@copton.net> To: <boost@lists.boost.org> Sent: Thursday, February 05, 2009 12:56 PM Subject: Re: [boost] [threads] API Design Question
On the other hand those flags/counters are a safe way to solve the spurious wakeup problem in general. So why not having the library doing the job? Not to mention the fact that spurious wakeups are a very hard to detect bug in case one forgets to loop or - even worse - there is a bug in the loop condition.
Hi, could you explain how your design helps to debug a bug in the loop condition? Vicente