From: John Maddock (john_at_[hidden])
Date: 2005-09-03 11:30:27


> I think that especially on CE, you'd really want to use a lock (on
> slow path) and never busy-wait... priority inversions, y'know.

Very good point, I knew I'd missed something :-)

It would be easy enough to bump up the priority of the thread performing the
once-call (the priority ceiling approach), priority inheritance looks more
elegant, but is rather harder to implement.

John.