mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-22 20:38:09 +00:00
bcabbe2c92
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 |
||
---|---|---|
.. | ||
arm | ||
include | ||
x86 | ||
cpu_session_support.cc | ||
io_mem_session_support.cc | ||
irq_session_component.cc | ||
platform_pd.cc | ||
platform_thread.cc | ||
platform.cc | ||
ram_session_support.cc | ||
rm_session_support.cc | ||
target.inc | ||
thread_start.cc |