Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-04-07 11:38:20


Markus Schöpflin wrote:

> Pardon me for being dense, but I don't see what you are referring to on
> this page. In Table 10.11, the Lock concept doesn't have any model.
> AFAIK, you can only work with dynamically allocated locks as Dave
> outlined in another post. But OTOH, perhaps I'm just beeing blind when
> reading the page.

Maybe I'm misunderstanding what you are trying to do.. In that table
(10.11) it is true that Lock doesn't have a model, but it's refinements
do have models. What prevents you from using say, the
boost::mutex::scoped_lock model? (Which has the lock/unlock calls.)

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

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