summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-03 00:42:48 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-03 00:42:48 +0100
commit4bc87dc7b99c4f7a9270e23e5958b4c93fe76033 (patch)
tree454b3423e27576dc04b0e6e15281d572c2eeaadd /Kernel/Process.h
parentf6e27c2abe9da2ed1159cfc30618afc66bfbab79 (diff)
downloadserenity-4bc87dc7b99c4f7a9270e23e5958b4c93fe76033.zip
Share the "blocked-on file descriptor" number between read() and write().
A process can't be reading and writing at the same time, so it's fine for them to share the variable for the blocked FD.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index f036397f2b..56c829d7dd 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -266,7 +266,6 @@ private:
void* m_kernelStack { nullptr };
dword m_timesScheduled { 0 };
pid_t m_waitee_pid { -1 };
- int m_fdBlockedOnRead { -1 };
int m_blocked_fd { -1 };
size_t m_max_open_file_descriptors { 16 };
SignalActionData m_signal_action_data[32];