Query: pthread_attr_setcreatesuspend_np
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PTHREAD_ATTR_SETCREATESUSPEND_NP(3) BSD Library Functions Manual PTHREAD_ATTR_SETCREATESUSPEND_NP(3)NAMEpthread_attr_setcreatesuspend_np -- set attribute to create a thread suspendedLIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread.h> int pthread_attr_setcreatesuspend_np(pthread_attr_t attr);DESCRIPTIONThe 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 VALUESThe pthread_attr_setcreatesuspend_np() function always returns 0.COMPATIBILITYThe function is a non-standard extension.ERRORSNo errors are defined.SEE ALSOpthread_create(3), pthread_resume_np(3), pthread_suspend_np(3)BSDJuly 9, 2010 BSD
Related Man Pages |
---|
pthread_resume_np(3) - freebsd |
pthread_attr_destroy(3) - netbsd |
pthread_attr_get_np(3) - netbsd |
pthread_attr_getinheritsched(3) - netbsd |
pthread_resume_np(3) - netbsd |
Similar Topics in the Unix Linux Community |
---|
How Can I use pthread_create ? |
Pthread_create issue |
[c] is -lpthread correct option? |
Pthread_create problem |
A weird problem with POSIX function |