diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-05 14:19:06 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-06 20:42:26 +0100 |
commit | 2b5ce23b9988a66445b7c9d3cbcc692488cf718a (patch) | |
tree | 73e700599588126e2e623c5fc621ef4ca3e198da /cpukit/include/rtems/score | |
parent | rtems: Clarify partition manager documentation (diff) | |
download | rtems-2b5ce23b9988a66445b7c9d3cbcc692488cf718a.tar.bz2 |
score: Constify Thread_queue_First_operation
Update #4230.
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r-- | cpukit/include/rtems/score/threadq.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cpukit/include/rtems/score/threadq.h b/cpukit/include/rtems/score/threadq.h index de7ca8391b..5234019b81 100644 --- a/cpukit/include/rtems/score/threadq.h +++ b/cpukit/include/rtems/score/threadq.h @@ -496,16 +496,17 @@ typedef Thread_Control *( *Thread_queue_Surrender_operation )( ); /** - * @brief Thread queue first operation. + * @brief Gets the first thread on the queue. * - * @param[in] heads The thread queue heads. + * @param heads are heads of the thread queue. * - * @retval NULL No thread is present on the thread queue. - * @retval first The first thread of the thread queue according to the insert - * order. This thread remains on the thread queue. + * @retval NULL No thread is enqueued on the thread queue. + * + * @return Returns the first thread on the thread queue according to the queue + * order. This thread remains on the thread queue. */ typedef Thread_Control *( *Thread_queue_First_operation )( - Thread_queue_Heads *heads + const Thread_queue_Heads *heads ); /** |