Thread Management [POSIX Section 16]

Functions Implemented

int pthread_attr_init(pthread_attr_t *attr); 
int pthread_attr_destroy(pthread_attr_t *attr); 
int pthread_attr_setdetachstate(pthread_attr_t *attr,
                                int detachstate); 
int pthread_attr_getdetachstate(const pthread_attr_t *attr,
	                        int *detachstate); 
int pthread_attr_setstackaddr(pthread_attr_t *attr,
                              void *stackaddr); 
int pthread_attr_getstackaddr(const pthread_attr_t *attr,
	                      void **stackaddr); 
int pthread_attr_setstacksize(pthread_attr_t *attr,
                              size_t stacksize); 
int pthread_attr_getstacksize(const pthread_attr_t *attr,
	                      size_t *stacksize); 
int pthread_create( pthread_t *thread,
                    const pthread_attr_t *attr,
	            void *(*start_routine)(void *),
	            void *arg);
pthread_t pthread_self( void ); 
int pthread_equal(pthread_t thread1, pthread_t thread2); 
void pthread_exit(void *retval); 
int pthread_join(pthread_t thread, void **thread_return); 
int pthread_detach(pthread_t thread); 
int pthread_once(pthread_once_t *once_control,
	         void (*init_routine)(void));

Functions Omitted

<none>

Notes