mirror of
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-POSIX.git
synced 2025-10-19 19:54:03 +08:00

committed by
GitHub

parent
e197ed1ac7
commit
3b33c3467d
@@ -362,6 +362,17 @@ int pthread_getschedparam( pthread_t thread,
|
||||
int pthread_join( pthread_t thread,
|
||||
void ** retval );
|
||||
|
||||
/**
|
||||
* @brief Marks the thread identified by thread as detached.
|
||||
*
|
||||
* @see https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_detach.html
|
||||
*
|
||||
* @retval 0 - Upon successful completion.
|
||||
* @retval EINVAL - The implementation has detected that the value specified by thread does not refer
|
||||
* to a joinable thread.
|
||||
*/
|
||||
int pthread_detach(pthread_t thread);
|
||||
|
||||
/**
|
||||
* @brief Destroy a mutex.
|
||||
*
|
||||
|
Reference in New Issue
Block a user