mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 10:38:55 +00:00
4342d0d234
Patch prevents following bugs: * In sleep_forever the thread return from semaphore down if cap is revoked during destruction of a thread. This causes an endless loop consuming time not available for other threads. * In lock_helper and cap_sel_alloc the thread return from the lock() method even if the semaphore down call failed because of an revoked semaphore. This lead to the situation that a thread subject to de-construction returns from the lock method, but not holding the lock, entering the critical section and modifying state inside the critical section. Another thread in parallel already in the critical section or entering the critical section also modifies the state. This lead to curious bugs ... * thread_nova, thread_start, irq_session Detect early bugs if the SM is gone unexpectedly where it should never happen. |
||
---|---|---|
.. | ||
bit_allocator.h | ||
bit_array.h | ||
cap_sel_alloc.h | ||
ipc_msgbuf.h | ||
ipc_pager.h | ||
ipc.h | ||
native_types.h | ||
pager.h | ||
sleep.h |