mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
Kernel: Rename ProtectedValue<T> => MutexProtected<T>
Let's make it obvious what we're protecting it with.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 05:25:05 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c2fc33becd8
@@ -7,7 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Kernel/FileSystem/FileBackedFileSystem.h>
|
||||
#include <Kernel/Locking/ProtectedValue.h>
|
||||
#include <Kernel/Locking/MutexProtected.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
@@ -44,7 +44,7 @@ private:
|
||||
DiskCache& cache() const;
|
||||
void flush_specific_block_if_needed(BlockIndex index);
|
||||
|
||||
mutable ProtectedValue<OwnPtr<DiskCache>> m_cache;
|
||||
mutable MutexProtected<OwnPtr<DiskCache>> m_cache;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user