mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
demo: make cancel_blocking working
- remove special handling from base-nova - add to rpc_server where it actually should be applied to - required to work for sel4 cancel_blocking Issue #2044
This commit is contained in:
committed by
Christian Helmuth
parent
7b35927147
commit
5a0bc07d30
@@ -206,6 +206,12 @@ class Launchpad_child : public Genode::List<Launchpad_child>::Element
|
||||
_entrypoint.activate();
|
||||
}
|
||||
|
||||
/**
|
||||
* Required to forcefully kill client which blocks on a session
|
||||
* opening quest where the service is not up yet.
|
||||
*/
|
||||
void cancel_blocking() { _entrypoint.cancel_blocking(); }
|
||||
|
||||
Genode::Rom_session_capability rom_session_cap() { return _rom; }
|
||||
Genode::Ram_session_capability ram_session_cap() { return _ram; }
|
||||
Genode::Cpu_session_capability cpu_session_cap() { return _cpu; }
|
||||
|
||||
@@ -394,7 +394,7 @@ class Child_destructor_thread : Thread_deprecated<2*4096>
|
||||
* bit to proceed and reset the watchdog counter to give
|
||||
* the next blocking operation a chance to execute.
|
||||
*/
|
||||
cancel_blocking();
|
||||
child->cancel_blocking();
|
||||
_watchdog_cnt = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user