Changeset 315 for trunk/src/sh_pthread.c
- Timestamp:
- Mar 11, 2011, 8:30:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_pthread.c
r259 r315 15 15 SH_MUTEX_INIT(mutex_readdir, PTHREAD_MUTEX_INITIALIZER); 16 16 SH_MUTEX_INIT(mutex_thread_nolog, PTHREAD_MUTEX_INITIALIZER); 17 18 int sh_pthread_setsigmask(int how, const void *set, void *oldset) 19 { 20 return pthread_sigmask(how, (const sigset_t *)set, (sigset_t *)oldset); 21 } 17 22 18 23 void sh_pthread_mutex_unlock (void *arg) … … 288 293 #endif 289 294 295 #else 296 297 #include <signal.h> 298 299 int sh_pthread_setsigmask(int how, const void *set, void *oldset) 300 { 301 return sigprocmask(how, (const sigset_t *)set, (sigset_t *)oldset); 302 } 303 290 304 291 305 #endif
Note:
See TracChangeset
for help on using the changeset viewer.