GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PTHREAD_MAIN_NP (3)

NAME

pthread_main_np - identify the initial thread

CONTENTS

Library
Synopsis
Description
Return Values
See Also
Authors

LIBRARY


.Lb libpthread

SYNOPSIS


.In 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
.An Alexey Zelkin Aq phantom@FreeBSD.org .
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.