diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 00:42:48 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 00:42:48 +0100 |
commit | 4bc87dc7b99c4f7a9270e23e5958b4c93fe76033 (patch) | |
tree | 454b3423e27576dc04b0e6e15281d572c2eeaadd /Kernel/Process.h | |
parent | f6e27c2abe9da2ed1159cfc30618afc66bfbab79 (diff) | |
download | serenity-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.h | 1 |
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]; |