blob: 81307d973526c4cd5bab6438a14704d57232e03c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* -------------------------------------------
Copyright ZKA Technologies.
------------------------------------------- */
/***********************************************************************************/
/// @file ProcessTeam.cxx
/// @brief Process teams implementation.
/***********************************************************************************/
#include <KernelKit/ProcessScheduler.hxx>
namespace Kernel
{
/// @brief Process list array getter.
/// @return The list of process to schedule.
MutableArray<Ref<PROCESS_HEADER_BLOCK>>& ProcessTeam::AsArray()
{
return mProcessList;
}
/// @brief Get team ID.
/// @return The team's ID.
UInt64& ProcessTeam::Id() noexcept
{
return mTeamId;
}
/// @brief Current process getter.
/// @return The current process header.
Ref<PROCESS_HEADER_BLOCK>& ProcessTeam::AsRef()
{
return mCurrentProcess;
}
} // namespace Kernel
// last rev 05-03-24
|