mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
libc: add 'wakeup_remote_peers' to 'with_libc'
Libc components using 'with_libc' should wakeup peers in case a libc function makes I/O progress. issue #4820
This commit is contained in:
parent
8893b800e0
commit
c7c9542262
@ -419,6 +419,7 @@ void Libc::execute_in_application_context(Application_code &app_code)
|
||||
*/
|
||||
if (!Kernel::kernel().main_context()) {
|
||||
app_code.execute();
|
||||
Kernel::kernel().wakeup_remote_peers();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -437,6 +438,8 @@ void Libc::execute_in_application_context(Application_code &app_code)
|
||||
nested = true;
|
||||
Kernel::kernel().run(app_code);
|
||||
nested = false;
|
||||
|
||||
Kernel::kernel().wakeup_remote_peers();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user