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:
parent
2a65b9cfa5
commit
87ff0d550d
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user