genode/base-nova/src/base
Alexander Boettcher 486b27a1b8 nova: ease debugging if no cap indexes are left
If we ran out of capabilities indexes, the bit allocator throws an exception.
If this happens the code seems to hang and nothing happens.

Instead one could catch the exception and print some diagnostic message.
This would be nice, but don't work. Printing some diagnostic message itself
tries to do potentially IPC and will allocate new capability indexes at
least for the receive window.

So, catch the exception and let the thread die, so at least the instruction
pointer is left as trace to identify the reason of the trouble.

Fixes #625
2013-01-24 11:09:15 +01:00
..
console Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
env nova: use lock guard instead of explicit calls 2013-01-24 11:05:41 +01:00
ipc nova: ease debugging if no cap indexes are left 2013-01-24 11:09:15 +01:00
lock Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
pager nova: recall thread if exception can't be resolved 2013-01-21 11:40:38 +01:00
server nova: ease debugging if no cap indexes are left 2013-01-24 11:09:15 +01:00
thread Update copyright headers to 2013 2013-01-10 21:44:47 +01:00