Windows PowerShell command on Get-command thr_main
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man thr_main

Standard C Library Functions thr_main(3C)

NAME

thr_main - identify the main thread

SYNOPSIS

cc -mt [ flag... ] file... [ library... ]

#include

int thr_main(void);

DESCRIPTION

The thr_main() function returns one of the following:

1 if the calling thread is the main thread 0 if the calling thread is not the main thread

-1 if libthread is not linked in or thread initializa-

tion has not completed FILES /lib/libthread

ATTRIBUTES

See attributes(5) for descriptions of the following attri-

butes:

____________________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|_____________________________|_____________________________|

| MT-Level | MT-Safe |

|_____________________________|_____________________________|

SEE ALSO

thr_self(3C), attributes(5)

SunOS 5.11 Last change: 11 May 1998 1




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™