summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/status.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-11 08:44:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-23 11:00:28 +0100
commit546846472a5dadc7b3038b7c56da695f6dbbd1a6 (patch)
tree064b790fd0ab99efbff045f325fdc012015ac72a /cpukit/include/rtems/score/status.h
parentscore: _Thread_queue_Surrender_no_priority() (diff)
downloadrtems-546846472a5dadc7b3038b7c56da695f6dbbd1a6.tar.bz2
score: Properly continue the thread during restart
The _Thread_queue_Extract() does not deal with potential priority updates and the SMP locking protocol handling. Use _Thread_queue_Continue(). For the POSIX signals processing this is currently probably unnecessary, however, the use case is similar to the restart so use the same appoach. Close #4546.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/score/status.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/status.h b/cpukit/include/rtems/score/status.h
index 236ae52d7b..96c0f1f9af 100644
--- a/cpukit/include/rtems/score/status.h
+++ b/cpukit/include/rtems/score/status.h
@@ -106,6 +106,8 @@ typedef enum {
STATUS_BUILD( STATUS_CLASSIC_INCORRECT_STATE, EINVAL ),
STATUS_INTERRUPTED =
STATUS_BUILD( STATUS_CLASSIC_INTERNAL_ERROR, EINTR ),
+ STATUS_INTERNAL_ERROR =
+ STATUS_BUILD( STATUS_CLASSIC_INTERNAL_ERROR, ENOTSUP ),
STATUS_INVALID_ADDRESS =
STATUS_BUILD( STATUS_CLASSIC_INVALID_ADDRESS, EFAULT ),
STATUS_INVALID_ID =