Boost logo

Threads-Devel :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-11-26 18:03:07


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've noticed the wait members of boost::condition require more than just an
object that models the Lock concept, as indicated in the docs, since they
depend on implementation details in boost.thread. For more information, see:

http://osdir.com/ml/lib.boost.user/2003-06/msg00155.html

Does the rewrite of the mutex/condition stuff address this issue? I tried to
compile my code against svn from about a week ago to find out, but it looks
like one of the scoped lock types doesn't implement the locked() member
function? I got:

error: ‘class boost::unique_lock<boost::mutex>’ has no member named ‘locked’

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHS1Cs5vihyNWuA4URAv1uAJwPdSFTfGdqbLEbRALczr+WB2c8CgCeI2bN
irZ32H4m3T5HiWQUmB0C8OI=
=7Grz
-----END PGP SIGNATURE-----


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk