This website requires JavaScript.
Explore
Help
Sign In
ehmry
/
genode
Watch
1
Star
0
Fork
0
You've already forked genode
Code
Issues
Pull Requests
Releases
Wiki
Activity
cb225a1216
genode
/
os
/
src
/
test
/
thread_join
/
target.mk
4 lines
74 B
Makefile
Raw
Normal View
History
Unescape
Escape
Add 'Thread_base::join()' Using the new 'join()' function, the caller can explicitly block for the completion of the thread's 'entry()' function. The test case for this feature can be found at 'os/src/test/thread_join'. For hybrid Linux/Genode programs, the 'Thread_base::join()' does not map directly to 'pthread_join'. The latter function gets already called by the destructor of 'Thread_base'. According to the documentation, subsequent calls of 'pthread_join' for one thread may result in undefined behaviour. So we use a 'Genode::Lock' on this platform, which is in line with the other platforms. Related to #194, #501
2012-11-16 13:53:37 +01:00
TARGET
=
test-thread_join
SRC_CC
=
main.cc
Adaptation to Timer::Session change
2013-02-13 19:32:27 +01:00
LIBS
=
cxx env thread signal
Reference in New Issue
Copy Permalink