pthread_main_np(3) mojave man page | unix.com

Man Page: pthread_main_np

Operating Environment: mojave

Section: 3

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

NAME
pthread_main_np -- identify the initial thread
SYNOPSIS
#include <pthread.h> int pthread_main_np(void);
DESCRIPTION
The pthread_main_np() function is to identify the initial thread.
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
Related Man Pages
pthread_equal(3c) - opensolaris
pthread_resume_np(3) - freebsd
pthread_self(3) - suse
pthread_join(3) - osx
pthread_switch_add_np(3) - freebsd
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
Instructions to Clear Data Cache in Safari, Chrome, Firefox, Opera Browsers (Pictures)
My first PERL incarnation... Audio Oscillograph
Controlling user input
How can I direct messages from mac console.app to a log file?