MCPcopy Create free account
hub / github.com/9miao/CrossApp / pthread_mutex_init

Function pthread_mutex_init

CrossApp/platform/winrt/CCPThreadWinRT.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 7

CALockMethod · 0.85
CAThreadMethod · 0.85
addImageFullPathAsyncMethod · 0.85
WsThreadHelperMethod · 0.85
tu_mutexMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected