mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:37:36 +00:00
Okay let's just not have this broken locking at all right now.
I think I should just protect access to shared data structures and eventually do read/write atomicity locks at the inode level.
This commit is contained in:
parent
e6284a8774
commit
b1ff62f605
7 changed files with 16 additions and 38 deletions
|
@ -39,7 +39,7 @@ protected:
|
|||
};
|
||||
|
||||
OwnPtr<File> createDirectory(String&& name);
|
||||
OwnPtr<File> createTextFile(String&& name, String&& text);
|
||||
OwnPtr<File> createTextFile(String&& name, ByteBuffer&&, Unix::mode_t = 0010644);
|
||||
OwnPtr<File> createGeneratedFile(String&& name, Function<ByteBuffer()>&&, Unix::mode_t = 0100644);
|
||||
|
||||
InodeIdentifier addFile(OwnPtr<File>&&, InodeIndex parent = RootInodeIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue