projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/threads/posix/thread-posix.cpp: Removed mutex_join. The thread list
[cacao.git]
/
src
/
threads
/
threadlist.hpp
diff --git
a/src/threads/threadlist.hpp
b/src/threads/threadlist.hpp
index 76cd7c5538f5dcc58ad80db775337bdf53e078fb..4ca60a85dea0f13c5780d854c2ec4a3e29ec1e3f 100644
(file)
--- a/
src/threads/threadlist.hpp
+++ b/
src/threads/threadlist.hpp
@@
-74,6
+74,7
@@
private:
public:
static void lock() { _mutex.lock(); }
static void unlock() { _mutex.unlock(); }
+ static void wait_cond(Condition *cond) { cond->wait(_mutex); }
static void add_to_active_thread_list(threadobject* t);