blob: f01841a690c27c43703bf16ab6f674bc8baf5bd4 (
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 Zeta Electronics Corporation
------------------------------------------- */
/***********************************************************************************/
/// @file ProcessTeam.cxx
/// @brief Process teams implementation.
/***********************************************************************************/
#include <KernelKit/ProcessScheduler.hxx>
namespace NewOS
{
/// @brief Process list array getter.
/// @return The list of process to schedule.
MutableArray<Ref<ProcessHeader>>& 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<ProcessHeader>& ProcessTeam::AsRef()
{
return mCurrentProcess;
}
} // namespace NewOS
// last rev 05-03-24
|