pthread_once man page on IRIX

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



pthread_once(3P)					      pthread_once(3P)

NAME
     pthread_once - thread-safe initialization

C SYNOPSIS
     #include <pthread.h>

     int pthread_once(pthread_once_t *once, void (*init)(void));

DESCRIPTION
     The pthread_once() function ensures that the function init is called
     exactly once for all callers using the once initialization variable.
     This variable is initialized with the constant PTHREAD_ONCE_INIT.	While
     init is being executed all callers of pthread_once() will wait.

     If a thread is cancelled while executing the init function [see
     pthread_setcancelstate()], then pthread_once() will permit another thread
     (possibly waiting) to make the call.

DIAGNOSTICS
     There are no errors for pthread_once.

SEE ALSO
     pthread_setcancelstate(3P).

									Page 1

[top]

List of man pages available for IRIX

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