Refactored the ReentrantMutex support so that it utilises the underling thread implementation for recusive mutex support.

This commit is contained in:
Robert Osfield
2010-02-18 20:14:41 +00:00
parent ab66740fb0
commit 787daeeb93
5 changed files with 33 additions and 100 deletions

View File

@@ -81,7 +81,10 @@ static void _S_nsec_sleep(int __log_nsec) {
//
// Use: public.
//
Mutex::Mutex() {
Mutex::Mutex(MutexType type):
_mutexType(type)
)
{
Win32MutexPrivateData *pd = new Win32MutexPrivateData();
_prvData = static_cast<void *>(pd);
}