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:
Andreas Kling 2019-01-17 16:25:02 +01:00
parent 133f9aa352
commit e9e57c5f65
Notes: sideshowbarker 2024-07-19 16:00:49 +09:00
9 changed files with 18 additions and 27 deletions

View file

@ -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;
};