hpux man page for _lwp_self

Query: _lwp_self

OS: hpux

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

_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_mutex_unlock(2) - sunos
_lwp_getscheduler(2) - hpux
_lwp_wait(2) - netbsd
Similar Topics in the Unix Linux Community
Illegal Instruction error
Rpcbind service not starting