summaryrefslogtreecommitdiff
path: root/Kernel/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r--Kernel/Thread.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp
index 6919749135..ec8fe247d4 100644
--- a/Kernel/Thread.cpp
+++ b/Kernel/Thread.cpp
@@ -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;
+}