Exit Print View
#include <sys/lwp.h> lwpid_t _lwp_self(void);
The _lwp_self() function returns the ID of the calling LWP.
See attributes(5) for descriptions of the following attributes:
attributes(5)