The Pedigree Project
0.1
src
system
include
pedigree
kernel
process
SchedulerWorkerWake.h
1
/*
2
* Copyright (c) 2026, Pedigree Developers
3
*
4
* Permission to use, copy, modify, and distribute this software for any
5
* purpose with or without fee is hereby granted.
6
*/
7
8
#ifndef PEDIGREE_KERNEL_PROCESS_SCHEDULERWORKERWAKE_H
9
#define PEDIGREE_KERNEL_PROCESS_SCHEDULERWORKERWAKE_H
10
#include "pedigree/kernel/Atomic.h"
11
12
class
PerProcessorScheduler
;
13
class
WaitQueue
;
14
16
class
SchedulerWorkerWake
{
17
public
:
18
SchedulerWorkerWake
() : m_Pending(0), m_pWaiters(
nullptr
), m_pNext(
nullptr
) {}
19
20
private
:
21
friend
class
PerProcessorScheduler
;
22
23
Atomic<size_t>
m_Pending;
24
WaitQueue
* m_pWaiters;
25
SchedulerWorkerWake
* m_pNext;
26
};
27
28
#endif
Atomic
Definition
Atomic.h:35
PerProcessorScheduler
Definition
PerProcessorScheduler.h:45
SchedulerWorkerWake
Definition
SchedulerWorkerWake.h:16
WaitQueue
Definition
WaitQueue.h:28
Generated on Tue Sep 22 2026 06:05:49 for The Pedigree Project by
1.9.8