Lioncash 2013-01-25 13:07:01 -05:00
parent b897309eaf
commit c3d6f67c7c

View File

@ -318,9 +318,12 @@ public:
mutex_type* release()
{
return mutex();
mutex_type* const ret = mutex();
pm = NULL;
owns = false;
return ret;
}
bool owns_lock() const