From b68cef17e0f9d468a4ab6654bf65444275bd82ef Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 23 Oct 2013 13:29:17 +0200 Subject: score: New state STATES_WAITING_FOR_BSD_WAKEUP This state is necessery to implement the SLEEP(9) FreeBSD kernel API. --- cpukit/score/include/rtems/score/statesimpl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h index bc89753375..e7b0538651 100644 --- a/cpukit/score/include/rtems/score/statesimpl.h +++ b/cpukit/score/include/rtems/score/statesimpl.h @@ -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 -- cgit v1.2.3