mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:58:11 +00:00
Scheduler: Move thread unblocking out of a lambda to help make things more readable
We also use a switch to explicitly make sure we handle all cases properly.
This commit is contained in:
parent
d19136ce07
commit
4da2521606
2 changed files with 120 additions and 123 deletions
|
@ -120,6 +120,7 @@ public:
|
|||
void set_state(State);
|
||||
|
||||
void send_signal(u8 signal, Process* sender);
|
||||
void consider_unblock(time_t now_sec, long now_usec);
|
||||
|
||||
ShouldUnblockThread dispatch_one_pending_signal();
|
||||
ShouldUnblockThread dispatch_signal(u8 signal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue