Unix/Linux Go Back    


NetBSD 6.1.5 - man page for pthread_attr_setcreatesuspend_np (netbsd section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


PTHREAD_ATTR_SETCREATESUSPEND_N... BSD Library Functions ManualPTHREAD_ATTR_SETCREATESUSPEND_N...

NAME
     pthread_attr_setcreatesuspend_np -- set attribute to create a thread suspended

LIBRARY
     POSIX Threads Library (libpthread, -lpthread)

SYNOPSIS
     #include <pthread.h>

     int
     pthread_attr_setcreatesuspend_np(pthread_attr_t attr);

DESCRIPTION
     The pthread_attr_setcreatesuspend_np() function sets the attr argument, so that if this attr
     is used in a pthread_create(3) call, then the thread created will not run, but it will
     remain blocked in the suspended queue, until pthread_resume_np(3) is called on it.

RETURN VALUES
     The pthread_attr_setcreatesuspend_np() function always returns 0.

COMPATIBILITY
     The function is a non-standard extension.

ERRORS
     No errors are defined.

SEE ALSO
     pthread_create(3), pthread_resume_np(3), pthread_suspend_np(3)

BSD					   July 9, 2010 				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 09:28 PM.