pthread_main_np man page on FreeBSD

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

PTHREAD_MAIN_NP(3)	 BSD Library Functions Manual	    PTHREAD_MAIN_NP(3)

NAME
     pthread_main_np — identify the initial thread

LIBRARY
     POSIX Threads Library (libpthread, -lpthread)

SYNOPSIS
     #include <pthread_np.h>

     int
     pthread_main_np(void);

DESCRIPTION
     The pthread_main_np() function is used in userland threads environment to
     identify the initial thread.  Its semantics is similar to the Solaris's
     thr_main() function.

RETURN VALUES
     The pthread_main_np() function returns 1 if the calling thread is the
     initial thread, 0 if the calling thread is not the initial thread, and -1
     if the thread's initialization has not yet completed.

SEE ALSO
     pthread_create(3), pthread_equal(3), pthread_self(3)

AUTHORS
     This manual page was written by Alexey Zelkin ⟨phantom@FreeBSD.org⟩.

BSD			       February 13, 2003			   BSD
[top]

List of man pages available for FreeBSD

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