genode/repos/base-sel4/src
Stefan Kalkowski 0f05fa6fd4 base: resolve dead lock in weak pointer templates
This commit eliminates the mutual interlaced taking of destruction lock,
list lock and weak pointer locks that could lead to a dead-lock situation
when a lock pointer was tried to construct while a weak object is in
destruction progress.
Now, all weak pointers are invalidated and dequeued at the very
beginning of the weak object's destruction. Moreover, before a weak pointer
gets invalidated during destruction of a weak object, it gets dequeued, and
the list lock is freed again to avoid the former dead-lock.

Fix #1607
2015-07-21 09:30:04 +02:00
..
base sel4: initialization of non-main threads 2015-05-26 09:40:01 +02:00
core base: resolve dead lock in weak pointer templates 2015-07-21 09:30:04 +02:00
kernel sel4: replace syscalls.patch by macros.patch 2015-05-26 09:39:54 +02:00
platform sel4: import parent cap into non-core components 2015-05-26 09:40:01 +02:00
test/sel4 sel4: capability lifetime management 2015-05-26 09:39:59 +02:00