[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

General Programming Concepts: Writing and Debugging Programs


List of Threads Basic Operation Subroutines


pthread_attr_destroy Deletes a thread attributes object.
pthread_attr_getdetachstate Returns the value of the detachstate attribute of a thread attributes object.
pthread_attr_init Creates a thread attributes object and initializes it with default values.
pthread_create Creates a new thread, initializes its attributes, and makes it runnable.
pthread_cancel Requests the cancellation of a thread.
pthread_cleanup_pop Removes, and optionally executes, the routine at the top of the calling thread's cleanup stack.
pthread_cleanup_push Pushes a routine onto the calling thread's cleanup stack.
pthread_equal Compares two thread IDs.
pthread_exit Terminates the calling thread.
pthread_self Returns the calling thread's ID.
pthread_setcancelstate Sets the calling thread's cancelability state.
pthread_setcanceltype Sets the calling thread's cancelability type.
pthread_testcancel Creates a cancellation point in the calling thread.

Related Information

Threads Basic Operation Overview

Threads Library Quick Reference


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]