Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-10-25 12:53:05

"Preston A. Elder" <prez_at_[hidden]> writes:

> I have written a refinement on boost::mutex that allows for it to be
> interrupted while waiting to acquire the mutex by altering a predicate
> (once the mutex is acquired, it acts like a regular mutex).
> Here is the code:

It's an interesting idea. I'm yet to be convinced that it's worth adding to
boost.thread, though --- I'd rather just use a condition variable.


Anthony Williams
Just Software Solutions Ltd -
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

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