diff options
author | Test_User <hax@andrewyu.org> | 2024-06-21 09:02:51 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-21 19:55:27 -0400 |
commit | fbd7fc576fb73e9c536cc42a7f2d66b96261e1f0 (patch) | |
tree | 889d9c868b71c78e79cdf107911153e58eb51478 /mutex.c | |
parent | ef6f87193ab6628a2366b004a21c5cb21304c663 (diff) | |
download | haxircd-fbd7fc576fb73e9c536cc42a7f2d66b96261e1f0.tar.gz haxircd-fbd7fc576fb73e9c536cc42a7f2d66b96261e1f0.zip |
-pthread mutex, +semaphores
Diffstat (limited to 'mutex.c')
-rw-r--r-- | mutex.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -28,12 +28,7 @@ #include "mutex.h" -#ifdef USE_FUTEX -#else -pthread_mutexattr_t pthread_mutexattr; -#endif - -extern inline int mutex_init(MUTEX_TYPE *); +extern inline void mutex_init(MUTEX_TYPE *); extern inline void mutex_lock(MUTEX_TYPE *); extern inline void mutex_unlock(MUTEX_TYPE *); extern inline void mutex_destroy(MUTEX_TYPE *); |