mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-09 12:02:57 +00:00
vbox5-nova: document possible 'Blocking_canceled' exception
Fixes #3664
This commit is contained in:
parent
c3fb81d1a1
commit
434c9ceb5d
@ -890,6 +890,12 @@ class Vcpu_handler : public Vmm::Vcpu_dispatcher<Genode::Thread>,
|
|||||||
|
|
||||||
void wake_up()
|
void wake_up()
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
* Note: the following 'SEMAPHORE_UP' call can cause a
|
||||||
|
* 'Blocking_canceled' exception in the target thread
|
||||||
|
* if it is currently blocking on a Genode lock, because
|
||||||
|
* the same NOVA semaphore is used.
|
||||||
|
*/
|
||||||
Genode::addr_t sem = native_thread().exc_pt_sel + Nova::SM_SEL_EC;
|
Genode::addr_t sem = native_thread().exc_pt_sel + Nova::SM_SEL_EC;
|
||||||
Nova::sm_ctrl(sem, Nova::SEMAPHORE_UP);
|
Nova::sm_ctrl(sem, Nova::SEMAPHORE_UP);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user