Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)
Considerations for Porting DCE Threads to Standard POSIX Threads
To port applications that use DCE Threads (T8403) or DCE Threads on Java (T5819) to Standard
POSIX Threads, see the following sources of information:
• Pthreads Programming, Bradford Nichols, Dick Buttlar, and Jacqueline Proulx Farrell, O'Reilly
& Associates, 1998, 270 pp. See Appendix A, “Pthreads and DCE”, which describes these
topics:
◦ The Structure of a DCE Server
◦ What Does the DCE Programmer Have to Do?
◦ Example: The ATM as a DCE Server
• For a list of differences between the Draft 4 standard and IEEE POSIX Standard 1003.1c as
implemented in the Standard POSIX Threads library (T1248), see Appendix C (page 205) .
General Considerations for Porting to Standard POSIX Threads
For applications that use thread functions adhering to the Draft 4 standard, see Appendix B,
“Pthreads Draft 4 vs. The Final Standard,” in Pthreads Programming by Nichols, Buttlar, and Farrell.
The topics covered in that appendix are:
• Detaching a Thread
• Mutex Variables
• Condition Variables
• Thread Attributes
• The pthread_once function
• Keys
• Cancellation
• Scheduling
• Signals
• Threadsafe System Interfaces
• Error Reporting
• System Interfaces and Cancellation-Safety
• Process-Blocking Calls
• Process Management
Considerations for Porting DCE Threads to Standard POSIX Threads 187