KallistiOS  2.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Threading system modes

Macros

#define THD_MODE_NONE   -1
 Threads not running.
#define THD_MODE_COOP   0
 Cooperative threading mode.
#define THD_MODE_PREEMPT   1
 Preemptive threading mode.

Detailed Description

The thd_mode variable will always have one of this set of values. This represents the type of scheduling done by the system (or the special case of threads not having been initialized yet).


Macro Definition Documentation

#define THD_MODE_COOP   0

Cooperative threading mode.

#define THD_MODE_NONE   -1

Threads not running.

#define THD_MODE_PREEMPT   1

Preemptive threading mode.