diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-13 10:00:28 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-30 09:11:18 +0200 |
commit | 40188718f232423c6e28922e39ea6e9c10eb444b (patch) | |
tree | 1b5d5408bd46e66e414f55f47e2c819024e9c6b2 /cpukit/score/include/rtems/score/statesimpl.h | |
parent | score: Add self-contained semaphore implementation (diff) | |
download | rtems-40188718f232423c6e28922e39ea6e9c10eb444b.tar.bz2 |
score: Add self-contained futex implementation
Diffstat (limited to 'cpukit/score/include/rtems/score/statesimpl.h')
-rw-r--r-- | 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 7805ca4c9b..82d222c490 100644 --- a/cpukit/score/include/rtems/score/statesimpl.h +++ b/cpukit/score/include/rtems/score/statesimpl.h @@ -90,6 +90,8 @@ extern "C" { #define STATES_WAITING_FOR_SYS_LOCK_MUTEX 0x2000000 /** This macro corresponds to a task waiting for a <sys/lock.h> semaphore. */ #define STATES_WAITING_FOR_SYS_LOCK_SEMAPHORE 0x4000000 +/** This macro corresponds to a task waiting for a <sys/lock.h> futex. */ +#define STATES_WAITING_FOR_SYS_LOCK_FUTEX 0x8000000 /** This macro corresponds to a task which is in an interruptible * blocking state. @@ -109,6 +111,7 @@ extern "C" { STATES_WAITING_FOR_BSD_WAKEUP | \ STATES_WAITING_FOR_SYS_LOCK_MUTEX | \ STATES_WAITING_FOR_SYS_LOCK_SEMAPHORE | \ + STATES_WAITING_FOR_SYS_LOCK_FUTEX | \ STATES_WAITING_FOR_RWLOCK ) /** This macro corresponds to a task waiting which is blocked. */ |