source: trunk/src/sh_pthread.c@ 137

Last change on this file since 137 was 136, checked in by katerina, 17 years ago

Add file src/sh_pthread.c

File size: 413 bytes
Line 
1#include "config_xor.h"
2
3#include "sh_pthread.h"
4
5#ifdef HAVE_PTHREAD
6SH_MUTEX_INIT(mutex_skey, PTHREAD_MUTEX_INITIALIZER);
7SH_MUTEX_INIT(mutex_resolv, PTHREAD_MUTEX_INITIALIZER);
8SH_MUTEX_INIT(mutex_pwent, PTHREAD_MUTEX_INITIALIZER);
9SH_MUTEX_INIT(mutex_readdir,PTHREAD_MUTEX_INITIALIZER);
10
11void 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.