mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-09 12:02:57 +00:00
parent
b85126a638
commit
ae76e441b1
@ -397,35 +397,24 @@ class Kernel::Thread
|
|||||||
_state = AWAIT_PAGER_IPC;
|
_state = AWAIT_PAGER_IPC;
|
||||||
return 0;
|
return 0;
|
||||||
case AWAIT_PAGER_IPC:
|
case AWAIT_PAGER_IPC:
|
||||||
PERR("cancel message receipt");
|
|
||||||
Ipc_node::cancel_waiting();
|
Ipc_node::cancel_waiting();
|
||||||
return 0;
|
return 0;
|
||||||
case SCHEDULED:
|
case SCHEDULED:
|
||||||
return 1;
|
return 1;
|
||||||
case AWAIT_IPC:
|
case AWAIT_IPC:
|
||||||
PERR("cancel message receipt");
|
|
||||||
Ipc_node::cancel_waiting();
|
Ipc_node::cancel_waiting();
|
||||||
_schedule();
|
|
||||||
return 0;
|
return 0;
|
||||||
case AWAIT_IRQ:
|
case AWAIT_IRQ:
|
||||||
PERR("cancel interrupt receipt");
|
|
||||||
Irq_receiver::cancel_waiting();
|
Irq_receiver::cancel_waiting();
|
||||||
_schedule();
|
|
||||||
return 0;
|
return 0;
|
||||||
case AWAIT_SIGNAL:
|
case AWAIT_SIGNAL:
|
||||||
PERR("cancel signal receipt");
|
|
||||||
Signal_handler::cancel_waiting();
|
Signal_handler::cancel_waiting();
|
||||||
_schedule();
|
|
||||||
return 0;
|
return 0;
|
||||||
case AWAIT_SIGNAL_CONTEXT_KILL:
|
case AWAIT_SIGNAL_CONTEXT_KILL:
|
||||||
PERR("cancel signal context destruction");
|
|
||||||
Signal_context_killer::cancel_waiting();
|
Signal_context_killer::cancel_waiting();
|
||||||
_schedule();
|
|
||||||
return 0;
|
return 0;
|
||||||
case AWAIT_SIGNAL_RECEIVER_KILL:
|
case AWAIT_SIGNAL_RECEIVER_KILL:
|
||||||
PERR("cancel signal receiver destruction");
|
|
||||||
Signal_receiver_killer::cancel_waiting();
|
Signal_receiver_killer::cancel_waiting();
|
||||||
_schedule();
|
|
||||||
return 0;
|
return 0;
|
||||||
case AWAIT_START:
|
case AWAIT_START:
|
||||||
case STOPPED:;
|
case STOPPED:;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user