mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
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.
This commit is contained in:
parent
f6e27c2abe
commit
4bc87dc7b9
3 changed files with 3 additions and 4 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue