|
Boost : |
Subject: Re: [boost] [pool] Conversion to Boost.Thread for singleton_pool
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-10-24 09:20:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 24 October 2008 09:01 am, Chris Newbold wrote:
> As an side, I'm curious why boost::mutex is implemented with
> basic_timed_mutex on Windows. It seems like there could be a dedicated
> mutex implementation using CriticalSection which, as far as I know, covers
> the Lockable concept.
TryEnterCriticalSection doesn't exist on windows 9x, and Lockable includes a
try_lock() method.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJAcuv5vihyNWuA4URApe6AJ4w4+FOniEYtq3Z4R6PAEzukD5dWACgg8Oz
ym5GzSlEh6g/zDbpF09W4Ak=
=D5M3
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk