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
|
@ -162,7 +162,7 @@ KResult TCPSocket::protocol_connect(FileDescription& description, ShouldBlock sh
|
|||
m_state = State::Connecting;
|
||||
|
||||
if (should_block == ShouldBlock::Yes) {
|
||||
current->block(*new Thread::ThreadBlockerConnect(description));
|
||||
current->block(*new Thread::ConnectBlocker(description));
|
||||
ASSERT(is_connected());
|
||||
return KSuccess;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue