mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 19:27:35 +00:00
Kernel: Mark a handful of things in Process.cpp READONLY_AFTER_INIT
This commit is contained in:
parent
f0a1d9bfa5
commit
00107a0dc1
1 changed files with 5 additions and 5 deletions
|
@ -62,11 +62,11 @@ static void create_signal_trampoline();
|
||||||
|
|
||||||
RecursiveSpinLock g_processes_lock;
|
RecursiveSpinLock g_processes_lock;
|
||||||
static Atomic<pid_t> next_pid;
|
static Atomic<pid_t> next_pid;
|
||||||
InlineLinkedList<Process>* g_processes;
|
READONLY_AFTER_INIT InlineLinkedList<Process>* g_processes;
|
||||||
String* g_hostname;
|
READONLY_AFTER_INIT String* g_hostname;
|
||||||
Lock* g_hostname_lock;
|
READONLY_AFTER_INIT Lock* g_hostname_lock;
|
||||||
HashMap<String, OwnPtr<Module>>* g_modules;
|
READONLY_AFTER_INIT HashMap<String, OwnPtr<Module>>* g_modules;
|
||||||
Region* g_signal_trampoline_region;
|
READONLY_AFTER_INIT Region* g_signal_trampoline_region;
|
||||||
|
|
||||||
ProcessID Process::allocate_pid()
|
ProcessID Process::allocate_pid()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue