add win32 pthread_mutex_destroy implementation
This commit is contained in:
parent
69968ab38e
commit
527482b520
@ -102,6 +102,13 @@ pthread_mutex_unlock(pthread_mutex_t *mutex)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline int
|
||||||
|
pthread_mutex_destroy(pthread_mutex_t *mutex)
|
||||||
|
{
|
||||||
|
DeleteCriticalSection(mutex->lock);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include_next <pthread.h>
|
#include_next <pthread.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user