X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fthreads%2Fposix%2Fthread-posix.hpp;h=32503c4da1a20bb7395b27ff561811d5231694c2;hb=ac8c250e6d413143404f58ae3e00c575f389220a;hp=9257ce8131db2e1bedea4e3d865da2c2092e2795;hpb=47d82d11dc092abdbabdc2bfab746ed3429044eb;p=cacao.git diff --git a/src/threads/posix/thread-posix.hpp b/src/threads/posix/thread-posix.hpp index 9257ce813..32503c4da 100644 --- a/src/threads/posix/thread-posix.hpp +++ b/src/threads/posix/thread-posix.hpp @@ -214,19 +214,6 @@ inline static threadobject* thread_get_current(void); #include "vm/jit/intrp/intrp.h" #endif -#if defined(__DARWIN__) -# include - -typedef struct { - Mutex* mutex; - Condition* cond; - int value; -} sem_t; - -#else -# include -#endif - // FIXME #ifdef __cplusplus @@ -289,10 +276,6 @@ inline static void threads_set_current_stackframeinfo(struct stackframeinfo_t* s /* functions ******************************************************************/ -void threads_sem_init(sem_t *sem, bool shared, int value); -void threads_sem_wait(sem_t *sem); -void threads_sem_post(sem_t *sem); - void threads_start_thread(threadobject *thread, functionptr function); void threads_set_thread_priority(pthread_t tid, int priority);