pthread.c
2.52 KB
-
Fix bug in the way pthead_mutex_t was being destroyed in win32. · 16a5c304
Win32 critical section objects (CRITICAL_SECTION) are not kernel objects. Only kernel objects are destroyed by using CloseHandle. Critical sections are supposed to be deleted with the DeleteCriticalSection API (http://msdn.microsoft.com/en-us/library/ms682552(VS.85).aspx).
kelly.leahy committed