| 96 | } |
| 97 | |
| 98 | static int pthread_join(pthread_t thread, void** value_ptr) { |
| 99 | (void)value_ptr; |
| 100 | return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || |
| 101 | CloseHandle(thread) == 0); |
| 102 | } |
| 103 | |
| 104 | // Mutex |
| 105 | static int pthread_mutex_init(pthread_mutex_t* const mutex, void* mutexattr) { |
no outgoing calls
no test coverage detected