Boost logo

Boost Users :

Subject: [Boost-users] question about threading library
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-11-06 14:44:07


I want to use the boost threading library in an application.

Looking through the documentation, I have a questions.

a) in the examples I find "boost::mutex::scoped_lock" but
I don't find this in the documentation. It looks like this
is called "lock_guard". What should I be doing here.

b) Its not clear to me how unique_lock(Lockable l)
is different than using lock_gard(..) or scoped_lock.

Robert Ramey


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