Unix/Linux Go Back    


NetBSD 6.1.5 - man page for _lwp_exit (netbsd section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


_LWP_EXIT(2)			     BSD System Calls Manual			     _LWP_EXIT(2)

NAME
     _lwp_exit -- terminate the calling light-weight process

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <lwp.h>

     void
     _lwp_exit(void);

DESCRIPTION
     _lwp_exit() terminates the calling LWP.  If it is the last LWP in the process, the process
     exits with a status of 0.	If the LWP was not created in a detached state, then the system
     will not reclaim its LWP ID until its status is reported to another LWP in the process via
     _lwp_wait(2).

RETURN VALUES
     _lwp_exit() can never return.

SEE ALSO
     _exit(2), _lwp_create(2), _lwp_wait(2)

HISTORY
     The _lwp_exit() system call first appeared in NetBSD 2.0.

BSD					 January 13, 2003				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 03:30 AM.