1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 09:21:19 +01:00

core/thread_get_unchecked(): fix doc

This fixes the API doc for thread_get_unchecked()
This commit is contained in:
Marian Buschsieweke 2025-04-17 18:49:49 +02:00
parent 2a65b9cfa5
commit 87ff0d550d
No known key found for this signature in database
GPG Key ID: 758BD52517F79C41

View File

@ -284,8 +284,9 @@ kernel_pid_t thread_create(char *stack,
/**
* @brief Retrieve a thread control block by PID.
* @pre @p pid is valid
* @param[in] pid Thread to retrieve.
* @return `NULL` if the PID is invalid or there is no such thread.
* @param[in] pid Thread to retrieve.
* @return The thread identified by @p pid
* @retval `NULL` no thread at the given valid PID is active.
*/
static inline thread_t *thread_get_unchecked(kernel_pid_t pid)
{