mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Kernel: Make FIFO inherit from File.
This commit is contained in:
parent
f254a84d17
commit
0a0d739e98
18 changed files with 96 additions and 72 deletions
|
@ -1,6 +1,7 @@
|
|||
#include <Kernel/Thread.h>
|
||||
#include <Kernel/Scheduler.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/Net/Socket.h>
|
||||
#include <Kernel/VM/MemoryManager.h>
|
||||
#include <LibC/signal_numbers.h>
|
||||
|
||||
|
@ -532,3 +533,8 @@ bool Thread::is_thread(void* ptr)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void Thread::set_blocked_socket(Socket* socket)
|
||||
{
|
||||
m_blocked_socket = socket;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue