mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Kernel: Remove memory allocations from the new Blocker API
This commit is contained in:
parent
99c5377653
commit
cd76b691fb
6 changed files with 27 additions and 27 deletions
|
@ -212,7 +212,7 @@ ssize_t IPv4Socket::recvfrom(FileDescription& description, void* buffer, size_t
|
|||
}
|
||||
|
||||
load_receive_deadline();
|
||||
current->block(*new Thread::ReceiveBlocker(description));
|
||||
current->block<Thread::ReceiveBlocker>(description);
|
||||
|
||||
LOCKER(lock());
|
||||
if (!m_can_read) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue