Boost logo

Threads-Devel :

From: Constantine Sapuntzakis (csapuntz_at_[hidden])
Date: 2008-01-31 18:20:36


Anthony,
 
Thank you for your reply and considering the matter.
 
Do you know where I can comment with respect to the standards document?
 
Apropos your point about consistent pairs: I almost never use
scoped_lock::lock. I always get
the lock as a side effect of the scoped_lock constructor. However, I do
often
call scoped_lock::unlock to release the lock before the scope ends. So I
need to remember: is the scoped_lock::acquire/release or is it
scoped_lock::lock/unlock?
 
I'm curious: what are the uses for scoped_lock::release?
 
Best,
-Costa



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