
on Mon Aug 20 2007, Howard Hinnant <howard.hinnant-AT-gmail.com> wrote:
Here is a link to a reference implementation and a FAQ for mutexes, locks and condition variables I am currently anticipating proposing for C++ standardization (or subsequent TR).
http://home.twcny.rr.com/hinnant/cpp_extensions/concurrency_rationale.html
FWIW, I don't like the name "accept_ownership," in part because the try_to_lock case can also be seen as accepting ownership. I'd actually prefer "prelocked," even though it's not grammatically congruent with "try_to_lock" and "defer_lock." I like "deferred," but I don't know how to do the same thing for "try_to_lock." Maybe immediate deferred prelocked I like those. More declarative. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com