mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 22:58:26 +00:00
nova: add feature to yield a thread
used by virtualbox intensively
This commit is contained in:
committed by
Christian Helmuth
parent
39a7ffd233
commit
dd95266235
@ -41,7 +41,7 @@ Genode::Thread_base * __attribute__((weak)) Genode::Thread_base::myself()
|
||||
}
|
||||
|
||||
|
||||
static inline void thread_yield() { }
|
||||
static inline void thread_yield() { Nova::ec_ctrl(Nova::EC_YIELD); }
|
||||
|
||||
|
||||
static inline bool thread_check_stopped_and_restart(Genode::Thread_base *thread_base)
|
||||
|
@ -296,7 +296,7 @@ void Pager_object::client_cancel_blocking()
|
||||
|
||||
uint8_t Pager_object::client_recall()
|
||||
{
|
||||
return ec_ctrl(_state.sel_client_ec);
|
||||
return ec_ctrl(EC_RECALL, _state.sel_client_ec);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user