|
Boost : |
From: Matthew Hurd (matt_at_[hidden])
Date: 2004-01-24 17:11:51
> On Behalf Of Sean Kelly
> Sent: Sunday, 25 January 2004 8:05 AM
> Subject: [boost] Boost.Thread request: event object
>
> The condition object is needlessly complex for instances where a thread
> must wait on a signal but isn't immediately concerned with shared data.
> Basically, I'd like a simplified version of condition that supports wait
> and timed_wait without the predicate and without the need to pass a mutex.
> It might be used like this:
Needlessly complex is right. Inefficient is right.
Do you think waiting on a mutex should also be modelled as an event?
Regards,
Matt Hurd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk