source:
trunk/src/sh_pthread.c@
137
Last change on this file since 137 was 136, checked in by , 17 years ago | |
---|---|
File size: 413 bytes |
Line | |
---|---|
1 | #include "config_xor.h" |
2 | |
3 | #include "sh_pthread.h" |
4 | |
5 | #ifdef HAVE_PTHREAD |
6 | SH_MUTEX_INIT(mutex_skey, PTHREAD_MUTEX_INITIALIZER); |
7 | SH_MUTEX_INIT(mutex_resolv, PTHREAD_MUTEX_INITIALIZER); |
8 | SH_MUTEX_INIT(mutex_pwent, PTHREAD_MUTEX_INITIALIZER); |
9 | SH_MUTEX_INIT(mutex_readdir,PTHREAD_MUTEX_INITIALIZER); |
10 | |
11 | void sh_pthread_mutex_unlock (void *arg) |
12 | { |
13 | (void) pthread_mutex_unlock ((pthread_mutex_t *)arg); |
14 | return; |
15 | } |
16 | #endif |
Note:
See TracBrowser
for help on using the repository browser.