mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
cli_monitor: ensure blocked children are waked up
When a command was executed, it is necessary to check not only whether the preservation limit of the ram quota is reached, but also whether new ram quota is available (e.g.: consequence of the kill command), and children are waiting for additional resources.
This commit is contained in:
parent
15741f73c0
commit
e0be6b9ed6
@ -30,6 +30,10 @@ class Ram
|
||||
{
|
||||
if (_ram.avail() < _preserve)
|
||||
Genode::Signal_transmitter(_yield_sigh).submit();
|
||||
|
||||
/* verify to answer outstanding resource requests too */
|
||||
if (_ram.avail() > _preserve)
|
||||
Genode::Signal_transmitter(_resource_avail_sigh).submit();
|
||||
}
|
||||
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user