diff options
Diffstat (limited to 'os/rt/include/chthreads.h')
-rw-r--r-- | os/rt/include/chthreads.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/rt/include/chthreads.h b/os/rt/include/chthreads.h index 4c23fbec2..24349000d 100644 --- a/os/rt/include/chthreads.h +++ b/os/rt/include/chthreads.h @@ -270,6 +270,8 @@ extern "C" { /**
* @brief Returns a pointer to the current @p thread_t.
*
+ * @return A pointer to the current thread.
+ *
* @xclass
*/
static inline thread_t *chThdGetSelfX(void) {
@@ -281,6 +283,8 @@ static inline thread_t *chThdGetSelfX(void) { * @brief Returns the current thread priority.
* @note Can be invoked in any context.
*
+ * @return The current thread priority.
+ *
* @xclass
*/
static inline tprio_t chThdGetPriorityX(void) {
@@ -294,6 +298,7 @@ static inline tprio_t chThdGetPriorityX(void) { * @p CH_DBG_THREADS_PROFILING configuration option is enabled.
*
* @param[in] tp pointer to the thread
+ * @return The number of consumed system ticks.
*
* @xclass
*/
|