mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed usage of member _thread_id in RsMutex
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8610 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2a6e1d0a8c
commit
502d2353cb
@ -249,9 +249,7 @@ void RsMutex::unlock()
|
||||
if(--_cnt == 0)
|
||||
{
|
||||
#endif
|
||||
#ifndef WIN32
|
||||
_thread_id = 0 ;
|
||||
#endif
|
||||
pthread_mutex_unlock(&realMutex);
|
||||
|
||||
#ifdef RSTHREAD_SELF_LOCKING_GUARD
|
||||
|
@ -46,9 +46,7 @@ class RsMutex
|
||||
/* remove unused parameter warnings */
|
||||
|
||||
pthread_mutex_init(&realMutex, NULL);
|
||||
#ifdef RSTHREAD_SELF_LOCKING_GUARD
|
||||
_thread_id = 0 ;
|
||||
#endif
|
||||
#ifdef RSMUTEX_DEBUG
|
||||
this->_name = name;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user