Boost logo

Boost :

From: scleary_at_[hidden]
Date: 2003-04-23 08:14:46

> -----Original Message-----
> From: Russell Hind [mailto:rhind_at_[hidden]]
> Also, it appears that try_mutex uses a Mutex so that it can perform a
> wait with a timeout of 0 (ie. if it can't enter, return immediately).
> Could this not have been implemented with a critical section and use
> TryEnterCriticalSection? Why was the mutex approach used for one and
> not the other?

I'm not 100% familiar with the Boost.Thread library, but I would guess that
the reason is that TryEnterCriticalSection is not available on 95/98/Me.


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