This looks like a motivating example for scoped_unlock. :-)
That would definitely be useful. In places I have made my own scoped_unlock (well, just called unlocker) but I haven't re-used it everywhere yet!.
Cheers
Russell
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost