Skip to content
Snippets Groups Projects
Commit f434f05d authored by rswindell's avatar rswindell
Browse files

Reverted back to Win32 mutex implementation of pthread_mutex.

parent 271c1d79
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ extern "C" {
/* No Win32 implementation for sem_getvalue() */
/* POSIX mutexes */
#if 1 /* Implemented as Win32 Critical Sections */
#if 0 /* Implemented as Win32 Critical Sections */
typedef CRITICAL_SECTION pthread_mutex_t;
#define pthread_mutex_init(pmtx,v) InitializeCriticalSection(pmtx)
#define pthread_mutex_lock(pmtx) EnterCriticalSection(pmtx)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment