score: New state STATES_WAITING_FOR_BSD_WAKEUP

This state is necessery to implement the SLEEP(9) FreeBSD kernel API.
This commit is contained in:
Sebastian Huber
2013-10-31 14:29:18 +01:00
parent fbed79bdd0
commit b68cef17e0
@@ -78,6 +78,8 @@ extern "C" {
#define STATES_WAITING_FOR_RWLOCK 0x20000
/** This macro corresponds to a task waiting for a system event. */
#define STATES_WAITING_FOR_SYSTEM_EVENT 0x40000
/** This macro corresponds to a task waiting for BSD wakeup. */
#define STATES_WAITING_FOR_BSD_WAKEUP 0x80000
/** This macro corresponds to a task which is in an interruptible
* blocking state.
@@ -94,6 +96,7 @@ extern "C" {
STATES_WAITING_FOR_JOIN_AT_EXIT | \
STATES_WAITING_FOR_SIGNAL | \
STATES_WAITING_FOR_BARRIER | \
STATES_WAITING_FOR_BSD_WAKEUP | \
STATES_WAITING_FOR_RWLOCK )
/** This macro corresponds to a task waiting which is blocked on