Boost logo

Boost :

From: Chris Thomasson (cristom_at_[hidden])
Date: 2006-10-24 13:43:42

"Anthony Williams" <anthony_w.geo_at_[hidden]> wrote in message
> "Chris Thomasson" <cristom_at_[hidden]> writes:
>> "Anthony Williams" <anthony_w.geo_at_[hidden]> wrote in message


> If, when the first writer unlocks, the readers compete with the waiting
> writer, then most of the time some readers will get in before the writer
> re-registers that it's waiting, and blocks the rest. You could just
> unblock
> one thread, and if it's a reader then it unblocks all currently-waiting
> readers. Rather like a condition variable broadcast....

I could adjust the logic of my algorithm so that it behaves exactly like

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