mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +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
Notes:
sideshowbarker
2024-07-19 13:10:40 +09:00
Author: https://github.com/rburchell
Commit: 4da2521606
Pull-request: https://github.com/SerenityOS/serenity/pull/339
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