summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/threadqimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-02 07:48:55 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-03 08:21:14 +0200
commit2647e76e8fb6b36e12f699eab4e53a420b2ed0c4 (patch)
tree6de418af85f7b9e19e09edd7132f5d0aa8fe8f9f /cpukit/include/rtems/score/threadqimpl.h
parentbsps/leon3: Rename fatal error code (diff)
downloadrtems-2647e76e8fb6b36e12f699eab4e53a420b2ed0c4.tar.bz2
score: Document thread queue operations
Diffstat (limited to 'cpukit/include/rtems/score/threadqimpl.h')
-rw-r--r--cpukit/include/rtems/score/threadqimpl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/threadqimpl.h b/cpukit/include/rtems/score/threadqimpl.h
index 33cdb3058d..22e0c7f069 100644
--- a/cpukit/include/rtems/score/threadqimpl.h
+++ b/cpukit/include/rtems/score/threadqimpl.h
@@ -1396,12 +1396,33 @@ typedef struct {
Wait_queue.Queue \
)
+/**
+ * @brief The default thread queue operations are used when a thread is not
+ * enqueued on a thread queue.
+ *
+ * The default operations may be used by _Thread_Priority_apply() and
+ * _Thread_Continue() if the thread is not enqueued on a thread queue. The
+ * default operations do nothing.
+ */
extern const Thread_queue_Operations _Thread_queue_Operations_default;
+/**
+ * @brief The FIFO thread queue operations are used when a thread is enqueued
+ * on a thread queue and provide FIFO ordering of enqueued threads.
+ */
extern const Thread_queue_Operations _Thread_queue_Operations_FIFO;
+/**
+ * @brief The FIFO thread queue operations are used when a thread is enqueued
+ * on a thread queue and provide priority ordering of enqueued threads.
+ */
extern const Thread_queue_Operations _Thread_queue_Operations_priority;
+/**
+ * @brief The FIFO thread queue operations are used when a thread is enqueued
+ * on a thread queue and provide priority ordering of enqueued threads with
+ * support for priority inheritance.
+ */
extern const Thread_queue_Operations _Thread_queue_Operations_priority_inherit;
/**