mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 10:18:51 +00:00
Generalize the SpinLock and move it to AK.
Add a separate lock to protect the VFS. I think this might be a good idea. I'm not sure it's a good approach though. I'll fiddle with it as I go along. It's really fun to figure out all these things on my own.
This commit is contained in:
parent
e4bfcd2346
commit
018da1be11
Notes:
sideshowbarker
2024-07-19 18:39:51 +09:00
Author: https://github.com/awesomekling
Commit: 018da1be11
11 changed files with 88 additions and 203 deletions
|
@ -21,6 +21,8 @@ int main(int c, char** v)
|
|||
if (c >= 2)
|
||||
filename = v[1];
|
||||
|
||||
VirtualFileSystem::initializeGlobals();
|
||||
|
||||
VirtualFileSystem vfs;
|
||||
|
||||
auto zero = make<ZeroDevice>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue