Kernel: Migrate hostname locking to ProtectedValue

This commit is contained in:
Jean-Baptiste Boric 2021-07-18 15:00:48 +02:00 committed by Andreas Kling
commit 626b99ce1c
Notes: sideshowbarker 2024-07-18 07:20:07 +09:00
4 changed files with 32 additions and 28 deletions

View file

@ -22,6 +22,7 @@
#include <Kernel/Forward.h>
#include <Kernel/FutexQueue.h>
#include <Kernel/Locking/Mutex.h>
#include <Kernel/Locking/ProtectedValue.h>
#include <Kernel/Memory/AddressSpace.h>
#include <Kernel/PerformanceEventBuffer.h>
#include <Kernel/ProcessGroup.h>
@ -33,6 +34,7 @@
namespace Kernel {
ProtectedValue<String>& hostname();
Time kgettimeofday();
#define ENUMERATE_PLEDGE_PROMISES \