
21 Aug
2007
21 Aug
'07
7:06 p.m.
Howard Hinnant wrote:
http://home.twcny.rr.com/hinnant/cpp_extensions/concurrency_rationale.html Thank you for your time and comments.
1) The document speaks about both: a) mutex with public lock unlock and b) moveable locks. What does public lock unlock provide, that cannot be achieved with moveable locks also? 2) The example in Q2 uses a statically initialized mutex, but the reference implementation shows the mutex has a ctor. How is this supposed to be made thread-safe? Roland aka speedsnail