mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Kernel: Rename ThreadBlocker classes to avoid stutter
Thread::ThreadBlockerFoo is a lot less nice to read than Thread::FooBlocker
This commit is contained in:
parent
782e4ee6e1
commit
52743f9eec
Notes:
sideshowbarker
2024-07-19 13:09:51 +09:00
Author: https://github.com/rburchell
Commit: 52743f9eec
Pull-request: https://github.com/SerenityOS/serenity/pull/340
6 changed files with 61 additions and 61 deletions
|
@ -212,7 +212,7 @@ ssize_t IPv4Socket::recvfrom(FileDescription& description, void* buffer, size_t
|
|||
}
|
||||
|
||||
load_receive_deadline();
|
||||
current->block(*new Thread::ThreadBlockerReceive(description));
|
||||
current->block(*new Thread::ReceiveBlocker(description));
|
||||
|
||||
LOCKER(lock());
|
||||
if (!m_can_read) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue