summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/ProcessTeam.cxx
blob: 068e0dbb2e718a2577d3d27b77693027c7b10968 (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
/* -------------------------------------------

	Copyright SoftwareLabs

------------------------------------------- */

/***********************************************************************************/
/// @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 Current process getter.
	/// @return The current process header.
	Ref<ProcessHeader>& ProcessTeam::AsRef()
	{
		return mCurrentProcess;
	}
} // namespace NewOS

// last rev 05-03-24