mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
Kernel: Add a basic lock to FileDescription
Let's prevent two processes sharing a FileDescription from messing with it at the same time for now.
This commit is contained in:
parent
9513f54932
commit
14d4b1058e
2 changed files with 11 additions and 0 deletions
|
@ -140,4 +140,6 @@ private:
|
|||
bool m_should_append { false };
|
||||
bool m_direct { false };
|
||||
FIFO::Direction m_fifo_direction { FIFO::Direction::Neither };
|
||||
|
||||
Lock m_lock { "FileDescription" };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue