mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 01:38:52 +00:00
Rename SpinLock to Lock. It hasn't been a SpinLock for some time.
I'm pretty happy with the mechanism of AK::Lock for now.
This commit is contained in:
parent
133f9aa352
commit
e9e57c5f65
Notes:
sideshowbarker
2024-07-19 16:00:49 +09:00
Author: https://github.com/awesomekling
Commit: e9e57c5f65
9 changed files with 18 additions and 27 deletions
|
@ -47,7 +47,7 @@ private:
|
|||
const Ext2FS& fs() const;
|
||||
Ext2FSInode(Ext2FS&, unsigned index, const ext2_inode&);
|
||||
|
||||
SpinLock m_lock;
|
||||
Lock m_lock;
|
||||
Vector<unsigned> m_block_list;
|
||||
HashMap<String, unsigned> m_lookup_cache;
|
||||
ext2_inode m_raw_inode;
|
||||
|
@ -110,7 +110,7 @@ private:
|
|||
mutable ByteBuffer m_cached_super_block;
|
||||
mutable ByteBuffer m_cached_group_descriptor_table;
|
||||
|
||||
mutable SpinLock m_inode_cache_lock;
|
||||
mutable Lock m_inode_cache_lock;
|
||||
mutable HashMap<BlockIndex, RetainPtr<Ext2FSInode>> m_inode_cache;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue