_lwp_self(2) hpux man page | unix.com

Man Page: _lwp_self

Operating Environment: hpux

Section: 2

_lwp_self(2)							System Calls Manual						      _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)
Related Man Pages
_lwp_mutex_lock(2) - opensolaris
_lwp_mutex_unlock(2) - opensolaris
_lwp_cond_broadcast(2) - sunos
_lwp_cond_signal(2) - opensolaris
_lwp_getscheduler(2) - hpux
Similar Topics in the Unix Linux Community
Illegal Instruction error
Rpcbind service not starting