*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pthread_attr_setcreatesuspend_np (3)              
Title
Content
Arch
Section
 

Contents


PTHREAD_ATTR_SETCRE... FreeBSD Library Functions Manual PTHREAD_ATTR_SETCRE...

NAME    [Toc]    [Back]

     pthread_attr_setcreatesuspend_np -- prepare attribute for creattion of
     suspended thread

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread_np.h>

     int
     pthread_attr_setcreatesuspend_np(pthread_attr_t *attr);

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

     The pthread_attr_setcreatesuspend_np() function will fail if:

     [EINVAL]		The value specified by attr is invalid.

SEE ALSO    [Toc]    [Back]

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

AUTHORS    [Toc]    [Back]

     This manual page was written by Alexey Zelkin <[email protected]>.


FreeBSD 5.2.1		       February 13, 2003		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pthread_resume_np FreeBSD resume suspended thread
pthread_attr_destroy FreeBSD thread attribute operations
pthread_attr_getstack FreeBSD thread attribute operations
pthread_attr_getstackaddr FreeBSD thread attribute operations
pthread_attr_setdetachstate FreeBSD thread attribute operations
pthread_attr_getstacksize FreeBSD thread attribute operations
pthread_attr_setguardsize IRIX get or set the thread guardsize attribute
pthread_attr_init FreeBSD thread attribute operations
pthread_attr_setstacksize FreeBSD thread attribute operations
pthread_attr FreeBSD thread attribute operations
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service