A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4using osu.Framework.Platform;
5
6namespace osu.Framework.Threading
7{
8 public enum GameThreadState
9 {
10 /// <summary>
11 /// This thread has not yet been started.
12 /// </summary>
13 NotStarted,
14
15 /// <summary>
16 /// This thread is preparing to run.
17 /// </summary>
18 Starting,
19
20 /// <summary>
21 /// This thread is running.
22 /// </summary>
23 Running,
24
25 /// <summary>
26 /// This thread is paused to be moved to a different native thread. This occurs when <see cref="ExecutionMode"/> changes.
27 /// </summary>
28 Paused,
29
30 /// <summary>
31 /// This thread has permanently exited.
32 /// </summary>
33 Exited
34 }
35}