Query: pthread_attr_setcreatesuspend_np
OS: freebsd
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 -- prepare attribute for creation of suspended threadLIBRARYPOSIX Threads Library (libpthread, -lpthread)SYNOPSIS#include <pthread_np.h> int pthread_attr_setcreatesuspend_np(pthread_attr_t *attr);DESCRIPTIONThe 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 VALUESThe 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.ERRORSThe pthread_attr_setcreatesuspend_np() function will fail if: [EINVAL] The value specified by attr is invalid.SEE ALSOpthread_attr_destroy(3), pthread_attr_init(3), pthread_create(3), pthread_resume_all_np(3), pthread_resume_np(3)AUTHORSThis manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.BSDFebruary 13, 2003 BSD
Similar Topics in the Unix Linux Community |
---|
Mac OS X: Based on UNIX - Solid As a Rock |
Scripts without shebang |
Memory Leaks |
Valid separator in time and date format |
Controlling user input |