What is a "BSD wakeup" event?
On Thu, Oct 31, 2013 at 9:26 AM, Sebastian Huber <s...@rtems.org> wrote: > Module: rtems > Branch: master > Commit: b68cef17e0f9d468a4ab6654bf65444275bd82ef > Changeset: > http://git.rtems.org/rtems/commit/?id=b68cef17e0f9d468a4ab6654bf65444275bd82ef > > Author: Sebastian Huber <sebastian.hu...@embedded-brains.de> > Date: Wed Oct 23 13:29:17 2013 +0200 > > 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 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/cpukit/score/include/rtems/score/statesimpl.h > b/cpukit/score/include/rtems/score/statesimpl.h > index bc89753..e7b0538 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 > > _______________________________________________ > rtems-vc mailing list > rtems...@rtems.org > http://www.rtems.org/mailman/listinfo/rtems-vc _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel