diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-14 09:11:07 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-18 07:30:31 +0100 |
commit | d78d5294cd076b48160e12c2f52a940d783b4dac (patch) | |
tree | 15bdd7b4b424b6c4ab49435e71ac6c795bb5a58d /cpukit/score/include/rtems/score/interr.h | |
parent | score: Remove obsolete defines (diff) | |
download | rtems-d78d5294cd076b48160e12c2f52a940d783b4dac.tar.bz2 |
score: Add and use _Thread_Dispatch_direct()
This function is useful for operations which synchronously block, e.g.
self restart, self deletion, yield, sleep. It helps to detect if these
operations are called in the wrong context. Since the thread dispatch
necessary indicator is not used, this is more robust in some SMP
situations.
Update #2751.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/interr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index dff61012d7..e23db5c58d 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -165,7 +165,8 @@ typedef enum { INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL, INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL, INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK, - INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE + INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE, + INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL } Internal_errors_Core_list; typedef CPU_Uint32ptr Internal_errors_t; |