mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
Kernel: Rename ProtectedValue<T> => MutexProtected<T>
Let's make it obvious what we're protecting it with.
This commit is contained in:
parent
81d990b551
commit
c2fc33becd
18 changed files with 57 additions and 56 deletions
|
@ -24,7 +24,7 @@
|
|||
#include <Kernel/Forward.h>
|
||||
#include <Kernel/FutexQueue.h>
|
||||
#include <Kernel/Locking/Mutex.h>
|
||||
#include <Kernel/Locking/ProtectedValue.h>
|
||||
#include <Kernel/Locking/MutexProtected.h>
|
||||
#include <Kernel/Memory/AddressSpace.h>
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/ProcessExposed.h>
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
ProtectedValue<String>& hostname();
|
||||
MutexProtected<String>& hostname();
|
||||
Time kgettimeofday();
|
||||
|
||||
#define ENUMERATE_PLEDGE_PROMISES \
|
||||
|
@ -814,7 +814,7 @@ static_assert(sizeof(Process) == (PAGE_SIZE * 2));
|
|||
|
||||
extern RecursiveSpinLock g_profiling_lock;
|
||||
|
||||
ProtectedValue<Process::List>& processes();
|
||||
MutexProtected<Process::List>& processes();
|
||||
|
||||
template<IteratorFunction<Process&> Callback>
|
||||
inline void Process::for_each(Callback callback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue