|
Boost : |
Subject: Re: [boost] [threads] API Design Question
From: Alexander Bernauer (alex_at_[hidden])
Date: 2009-02-06 05:55:02
Hi
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.
regards
Alex
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk