interrupt() / notify() fix.
[cacao.git] / src / threads / native / threads.h
index fd2ee45b953ae03c217bac60c7eced58797fb8b9..f02f38871e9b8a64c9961927611322fedd6654d3 100644 (file)
@@ -171,6 +171,7 @@ struct threadobject {
 #endif
 
        listnode_t            linkage;      /* threads-list                       */
+       listnode_t            linkage_free; /* free-list                          */
 };
 
 
@@ -237,7 +238,7 @@ void threads_join_all_threads(void);
 
 void threads_sleep(s8 millis, s4 nanos);
 
-bool threads_wait_with_timeout_relative(threadobject *t, s8 millis, s4 nanos);
+void threads_wait_with_timeout_relative(threadobject *t, s8 millis, s4 nanos);
 
 void threads_thread_interrupt(threadobject *thread);
 bool threads_check_if_interrupted_and_reset(void);