1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 17:35:06 +00:00

Kernel: Port process groups to SpinLockProtectedValue

This commit is contained in:
Andreas Kling 2021-08-07 13:12:35 +02:00
parent 6762378f89
commit d6667e4cb8
3 changed files with 35 additions and 26 deletions

View file

@ -76,7 +76,6 @@ UNMAP_AFTER_INIT void Process::initialize()
g_modules = new HashMap<String, OwnPtr<Module>>;
next_pid.store(0, AK::MemoryOrder::memory_order_release);
g_process_groups = new ProcessGroup::List();
hostname().with_exclusive([&](auto& name) {
name = "courage";