Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a3471 commit 3951faeCopy full SHA for 3951fae
src/port/pthread-win32.h
@@ -10,10 +10,10 @@ DWORD pthread_self(void);
10
void pthread_setspecific(pthread_key_t, void *);
11
void *pthread_getspecific(pthread_key_t);
12
13
-void pthread_mutex_init(pthread_mutex_t *, void *attr);
14
-void pthread_mutex_lock(pthread_mutex_t *);
+int pthread_mutex_init(pthread_mutex_t *, void *attr);
+int pthread_mutex_lock(pthread_mutex_t *);
15
16
/* blocking */
17
-void pthread_mutex_unlock(pthread_mutex_t *);
+int pthread_mutex_unlock(pthread_mutex_t *);
18
19
#endif
0 commit comments