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:
thunder2 2015-07-13 09:52:45 +00:00
parent 2a6e1d0a8c
commit 502d2353cb
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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