
19 Feb
2006
19 Feb
'06
10:57 p.m.
On Feb 19, 2006, at 1:40 PM, Ion GaztaƱaga wrote:
Currently, following Boost.Thread interface, mutex lock and unlock functions are private, but I would prefer making them public, and implement a unique scoped lock class that can lock any "lockable" object (shared_mutex, shared_recursive_mutex, named_mutex). This general locker could be moved to boost utilities or be just for this library. Or do you consider "too dangerous" to have lock functions public?. This is a proposal based on Howard Hinnant's much more complete scoped_lock proposal (http://home.twcny.rr.com/hinnant/cpp_extensions/threads_move.html):
What the heck did you do with the movable interface?! ;-) -Howard PS: Congrats on the nice job on shmem.