Boost logo

Boost :

Subject: Re: [boost] [threads] API Design Question
From: Alexander Bernauer (alex_at_[hidden])
Date: 2009-02-06 05:55:02


On Thursday 05 February 2009 20:26:32 vicente.botet wrote:
> could you explain how your design helps to debug a bug in the loop
> condition?

In my design the loop against spurious wakeups is implemented once in
the library. This can be reviewed and tested until its correct.

In the boost design everybody has to implement its own loops.

So my design does not help debugging. Instead it helps avoiding a whole
class of hard to find bugs.



Boost list run by bdawes at, gregod at, cpdaniel at, john at