Boost logo

Boost Users :

Subject: [Boost-users] using a condition_variable with a scoped_try_lock
From: Richard Connon (conan_at_[hidden])
Date: 2010-02-01 19:55:25


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

When I try to call wait() on a boost::condition variable with a
boost::scoped_try_lock as the argument I get the following error...

XXXXXXX.cpp:XX: error: ‘boost::unique_lock<boost::mutex>’ is an
inaccessible base of ‘boost::detail::try_lock_wrapper<boost::mutex>’

Does this mean I can't use a condition variable with a try lock?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLZ3f9AAoJEO6BIH4o6iWz110IAKxqpv3zNQWp8KmJZtC4JqOu
07uh94q+TWLzVgdqENEFhO9h6M64crLyEcmLgvRLM7wSMYpL1FifyGVDmLcmZ1qR
+nGCeOfwJEsqQlNNlp2GmAW44jABFRgY8eb15B1QYKYHe1uhaZxnLd6NZplHOWEZ
fJZylFlobrUUDvYDZKntmIzgCpAefMkcWN6GX1Dgm2W9LJGnOkkDmFO7N645eYfN
02a8DkxjixHRz2nvfAu7VRX5ECpGweGCiZ05JSOIP1ymyVQNlyIJS5a+nzsDDAgg
SDpbLSaHtdBFeVEkwHKgQcyvurrtqdkTOo/oaJzwExUDzDVNh7CwHFv0oeEXSeU=
=JrhX
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net