mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 11:00:14 -05:00
re-enabled mutex initialization, because RS could not start.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
80de6ccdb4
commit
6589b49025
@ -50,9 +50,9 @@ class bdMutex
|
|||||||
std::cerr << "ERROR: Could not initialize mutex !" << std::endl ;
|
std::cerr << "ERROR: Could not initialize mutex !" << std::endl ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
if( pthread_mutex_init(&realMutex, NULL))
|
if( pthread_mutex_init(&realMutex, NULL))
|
||||||
std::cerr << "ERROR: Could not initialize mutex !" << std::endl ;
|
std::cerr << "ERROR: Could not initialize mutex !" << std::endl ;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
~bdMutex() { pthread_mutex_destroy(&realMutex); }
|
~bdMutex() { pthread_mutex_destroy(&realMutex); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user