Document revision date: 19 July 1999
Guide to DECthreads
Previous
Contents
Index
Appendix F
Appendix F
Migrating from the d4 Interface
F.1
Overview
F.2
Error Status and Function Returns
F.3
Replaced or Renamed Routines
F.4
Routines with No Changes to Syntax
F.5
Routines with Prototype or Syntax Changes
F.6
New Routines
Glossary
Glossary
Glossary
Index
Index
Examples
2-1
pthread Cancel
5-1
Raising an Exception
5-2
Catching an Exception Using CATCH
5-3
Catching an Exception Using CATCH and CATCH_ALL
5-4
Defining Epilogue Actions Using FINALLY
5-5
Defining an Exception Scope
5-6
Raising a DECthreads Exception
5-7
Catching a Specific Exception Using CATCH
5-8
Catching an Unspecified Exception Using CATCH_ALL
5-9
Reraising an Exception Using RERAISE
5-10
Defining Epilogue Actions Using FINALLY
5-11
Setting an Error Status in an Exception Object
5-12
Obtaining the Error Status Value from a Status Exception Object
5-13
Reporting a Caught Exception
5-14
Comparing Two Exception Objects
5-15
Incorrect Placement of Statements That Might Raise an Exception
5-16
Correct Placement of Statements That Might Raise an Exception
5-17
Correct Placement of Statements That Might Raise an Exception
6-1
C Program Example (Prime Number Search)
6-2
C Program Example (Asynchronous User Interface)
Figures
1-1
Single-Threaded Process
1-2
Multithreaded Process
1-3
Thread State Transitions
1-4
Work Crew Model of Thread Operation
1-5
Pipelining Model of Thread Operation
2-1
Flow with FIFO Scheduling
2-2
Flow with RR Scheduling
2-3
Flow with Default Scheduling
2-4
Only One Thread Can Lock a Mutex
2-5
Thread A Waits on Condition Ready
2-6
Thread B Signals Condition Ready
2-7
Thread A Wakes and Proceeds
4-1
Read-Write Lock Behavior
Tables
1-1
DECthreads pthread Routines Summary
1-2
DECthreads tis Routines Summary
3-1
Default and Optional Granularities
5-1
Names of Exception Objects Defined by DECthreads
A-1
DECthreads Header Files
A-2
DIGITAL UNIX Shared Libraries for Multithreaded Programs
A-3
Signals Reported as Exceptions
B-1
DECthreads Header Files
B-2
DECthreads Images
B-3
DECthreads Condition Values
B-4
Results of Keyword Arguments to /THREADS_ENABLE Qualifier
B-5
Return Values from$GETJPI System Service
D-1
PTHREAD_CONFIG Settings
E-1
Corresponding cma and pthread Routines
F-1
pthread Routines That Replace d4 Routines
F-2
d4 Routines With Syntax Changes as pthread Routines
F-3
d4 Routines Whose pthread Counterpart Uses Standard Datatypes
Previous
Next
Contents
Index
privacy and legal statement
6101PRO_CONTENTS_003.HTML