
6 Feb
2009
6 Feb
'09
1:11 a.m.
----- Original Message ----- From: "Phil Endecott" <spam_from_boost_dev@chezphil.org> To: <boost@lists.boost.org> Sent: Thursday, February 05, 2009 3:25 PM Subject: Re: [boost] [threads] API Design Question
Not to mention the fact that spurious wakeups are a very hard to detect bug in case one forgets to loop
Every instance of waiting on a condition should always be in a loop, or use the predicate version of wait.
Hi, I was wondering if there are other specific cases where we need to call wait without testing a condition in a loop. Can someone show them? Vicente