_lwp_exit(2)
NAME
_lwp_exit − terminate the calling LWP
SYNOPSIS
#include <sys/lwp.h>
void _lwp_exit(void);
DESCRIPTION
_lwp_exit() causes the calling LWP to terminate. If it is the last LWP in the process, then the process exits with a status of zero (see exit(2).
If the LWP was created undetached, it is transformed into a "zombie LWP" that retains at least the LWP’s ID until it is waited for (see _lwp_wait(2)). Otherwise, its ID and system resources may be reclaimed immediately.
SEE ALSO
_lwp_create(2), _lwp_wait(2), exit(2)
SunOS 5.5/SPARC — Last change: 30 Jul 1992