thrd_current Subroutine
Purpose
This subroutine identifies the thread that is being requested.
Library
Standard C Library (libc.a)
Syntax
#include <threads.h>
thrd_t thrd_current(void);
Description
The thrd_current subroutine identifies the thread that is being requested.
Parameters
None
Return Values
The thrd_current subroutine returns the identifier of the thread that is being requested.
Files
Item | Description |
---|---|
threads.h | Standard macros, data types, and subroutines are defined by the threads.h file. |