2 Copyright © 2015, The AROS Development Team. All rights reserved.
10 # include <exec/tasks.h>
13 #ifndef UTILITY_TAGITEM_H
14 # include <utility/tagitem.h>
17 #define LTF_RUNNING (1 << 0)
18 #define LTF_READY (1 << 1)
19 #define LTF_WAITING (1 << 2) // N.B: includes spinning tasks
20 #define LTF_ALL (LTF_RUNNING|LTF_READY|LTF_WAITING)
21 #define LTF_WRITE (1 << 31)
23 #define TaskTag_CPUNumber (TAG_USER + 0x00000001) // CPU Number task is currently running on
24 #define TaskTag_CPUAffinity (TAG_USER + 0x00000002) // CPU Affinity mask
25 #define TaskTag_CPUTime (TAG_USER + 0x00000003) // Amount of CPU time spent running
26 #define TaskTag_StartTime (TAG_USER + 0x00000004) // Time the task was started
28 // The contents of the tasklist are private to task.resource
34 #endif /* TASKRES_H */