| 26 | |
| 27 | |
| 28 | NS_CC_BEGIN |
| 29 | |
| 30 | void pthread_mutex_init(pthread_mutex_t* m, void* attributes) { |
| 31 | *m = CreateMutexEx(NULL,FALSE,0,NULL); |
| 32 | } |
| 33 | |
| 34 | int pthread_mutex_lock(pthread_mutex_t* m) { |
| 35 | return WaitForSingleObjectEx(*m,INFINITE,FALSE); |
no outgoing calls
no test coverage detected