genode/base-foc/src/base
Norman Feske bcabbe2c92 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-19 12:43:34 +01:00
..
console Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
env Fiasco.OC: several capability ref-counter fixes. 2012-09-03 10:59:54 +02:00
ipc Nested init on i.MX31 via base_hw. Rework base_hw. 2012-11-14 16:36:41 +01:00
lock Fiasco.OC: introduce Cap_index (fixes #149, #112) 2012-03-22 14:10:44 +01:00
pager Fiasco.OC: several capability ref-counter fixes. 2012-09-03 10:59:54 +02:00
server Fiasco.OC: check invoked capability (fix #341) 2012-08-30 11:15:27 +02:00
thread Add 'Thread_base::join()' 2012-11-19 12:43:34 +01:00