thr_exit man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]



thr_exit(3scl)							thr_exit(3scl)

NAME
       thr_exit - Terminates the calling thread.

LIBRARY
       SCL Threads Library (libthread.so)

SYNOPSIS
       #include <thread.h>

       void thr_exit(
		      void *value_ptr );

PARAMETERS
       Return-value  from  thread  which  if  this  thread  is joinable can be
       obtained by another thread calling thr_join(3scl).

DESCRIPTION
       This routine terminates the calling thread. If this thread is  joinable
       (non-detached),	then the value_ptr argument is stored as this thread's
       return-value, which another thread can obtain by calling thr_join(3scl)
       and specifying the terminating thread ID.

       Note   that   if	  the  main  thread  does  not	terminate  by  calling
       thr_exit(3scl), then its termination will terminate the whole process.

SCL IMPLEMENTATION NOTES
       thr_exit(3scl) is implemented by calling pthread_exit(3).

RETURN VALUES
       None. The thr_exit(3scl) function terminates the thread, and so	cannot
       return to its caller.

ERRORS
       None.

RELATED INFORMATION
       Functions:  pthread_exit(3),  scl_intro(3scl),  scl_thread_intro(3scl),
       thr_join(3scl)

       Manuals: Solaris Compatibility Libraries User's Guide

								thr_exit(3scl)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net