Query: pthread_main_np
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PTHREAD_MAIN_NP(3) BSD Library Functions Manual PTHREAD_MAIN_NP(3)NAMEpthread_main_np -- identify the initial threadLIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread_np.h> int pthread_main_np(void);DESCRIPTIONThe 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 VALUESThe 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 ALSOpthread_create(3), pthread_equal(3), pthread_self(3)AUTHORSThis manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.BSDFebruary 13, 2003 BSD
Related Man Pages |
---|
pthread_attr_get_np(3) - freebsd |
pthread_resume_np(3) - netbsd |
pthread_getsequence_np(3) - osf1 |
pthread_switch_delete_np(3) - freebsd |
pthread_single_np(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
The Whole Story on #! /usr/bin/ksh |
A simple UNIXtime component in Vue.js |
Valid separator in time and date format |
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD? |