_lwp_self(2) _lwp_self(2) NAME _lwp_self() - get current LWP's (Lightweight Process) identifier SYNOPSIS DESCRIPTION The function returns the identifier of the current LWP. RETURN VALUE The function returns the identifier of the current LWP. ERRORS No errors are returned. This function always succeeds. WARNINGS Lightweight processes (LWPs) are internal interfaces and subject to change. The POSIX pthread interfaces should be used by multi-threaded applications. If the POSIX pthread interfaces and lightweight process interfaces are used in the same application, undefined behavior will result. _lwp_self(2)[top]
Vote for polarhome |