pthread_attr_setcreatesuspend_np man page on FreeBSD

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

PTHREAD_ATTR_SETCREAT... BSD Library Functions Manual PTHREAD_ATTR_SETCREAT...

NAME
     pthread_attr_setcreatesuspend_np — prepare attribute for creation of sus‐
     pended thread

LIBRARY
     POSIX Threads Library (libpthread, -lpthread)

SYNOPSIS
     #include <pthread_np.h>

     int
     pthread_attr_setcreatesuspend_np(pthread_attr_t *attr);

DESCRIPTION
     The pthread_attr_setcreatesuspend_np() instructs pthread_create(3) that
     the thread created with the attr attribute should be created and left in
     a suspended state until explicitly resumed by the call to
     pthread_resume_np() or pthread_resume_all_np().

RETURN VALUES
     The pthread_attr_setcreatesuspend_np() function returns the value 0 if
     successful; otherwise the value -1 is returned and the global variable
     errno is set to indicate the error.

ERRORS
     The pthread_attr_setcreatesuspend_np() function will fail if:

     [EINVAL]		The value specified by attr is invalid.

SEE ALSO
     pthread_attr_destroy(3), pthread_attr_init(3), pthread_create(3),
     pthread_resume_all_np(3), pthread_resume_np(3)

AUTHORS
     This manual page was written by Alexey Zelkin ⟨phantom@FreeBSD.org⟩.

BSD			       February 13, 2003			   BSD
[top]

List of man pages available for FreeBSD

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