OSF DCE Application Development Guide--Core Components
Contents
5.6.3 Storing or Retrieving Data ............ 5-6
5.6.4 Freeing Data ................ 5-7
5.6.5 Making or Retrieving Headers ........... 5-8
5.6.6 Performing Iteration .............. 5-8
5.6.7 Deleting Items from a Backing Store ......... 5-8
5.6.8 Locking and Unlocking a Backing Store ........ 5-9
5.7 Example of Backing Store Use ............. 5-9
Part 2. DCE Threads
Chapter 6. Introduction to Multithreaded Programming ........... 6-1
6.1 Advantages of Using Threads .............. 6-1
6.2 Software Models for Multithreaded Programming ........ 6-2
6.2.1 Boss/Worker Model .............. 6-2
6.2.2 Work Crew Model .............. 6-2
6.2.3 Pipelining Model ............... 6-3
6.2.4 Combinations of Models ............. 6-4
6.3 Potential Disadvantages of Multithreaded Programming ...... 6-4
Chapter 7. Thread Concepts and Operations ............... 7-1
7.1 Thread Operations ................. 7-1
7.1.1 Starting a Thread ............... 7-2
7.1.2 Terminating a Thread .............. 7-2
7.1.3 Waiting for a Thread to Terminate .......... 7-3
7.1.4 Deleting a Thread ............... 7-3
7.2 New Primitives .................. 7-3
7.3 Attributes Objects ................. 7-4
7.3.1 Creating an Attributes Object ........... 7-4
7.3.2 Deleting an Attributes Object ........... 7-4
7.3.3 Thread Attributes ............... 7-5
7.3.4 Mutex Attributes ............... 7-7
7.3.5 Condition Variable Attributes ........... 7-7
7.4 Synchronization Objects ............... 7-7
7.4.1 Mutexes ................. 7-7
7.4.2 Condition Variables .............. 7-9
7.4.3 Other Synchronization Methods .......... 7-12
7.5 One-Time Initialization Routines ............. 7-12
7.6 Thread-Speciļ¬c Data ................ 7-12
7.7 Thread Cancellation ................. 7-13
7.8 Thread Scheduling ................. 7-14
Chapter 8. Programming with Threads ................. 8-1
8.1 Calling UNIX Services ................ 8-1
8.1.1 Jacket Routines ............... 8-1
8.1.2 Blocking System Calls ............. 8-4
8.1.3 Calling fork( ) in a Multithreaded Environment ...... 8-4
8.2 Using Signals .................. 8-5
124245 Tandem Computers Incorporated v