Skip Navigation Links | |
Exit Print View | |
Multithreaded Programming Guide Oracle Solaris 11.1 Information Library |
1. Covering Multithreading Basics
Waiting for Thread Termination
Creating a Key for Thread-Specific Data
pthread_key_create Return Values
Deleting the Thread-Specific Data Key
pthread_key_delete Return Values
pthread_setspecific Return Values
pthread_getspecific Return Values
Global and Private Thread-Specific Data Example
Calling an Initialization Routine for a Thread
Setting the Thread Policy and Scheduling Parameters
pthread_setschedparam Return Values
Getting the Thread Policy and Scheduling Parameters
pthread_getschedparam Return Values
pthread_setschedprio Return Values
Accessing the Signal Mask of the Calling Thread
Enabling or Disabling Cancellation
pthread_setcancelstate Return Values
pthread_setcanceltype Return Values
pthread_testcancel Return Values
Pushing a Handler Onto the Stack
pthread_cleanup_push Return Values
Pulling a Handler Off the Stack
pthread_cleanup_pop Return Values
4. Programming with Synchronization Objects
5. Programming With the Oracle Solaris Software
6. Programming With Oracle Solaris Threads
This chapter introduces the basic threads programming routines for POSIX threads. This chapter describes default threads, or threads with default attribute values, which are the kind of threads that are most often used in multithreaded programming. This chapter explains how to create and use threads with nondefault attributes.