DCE Application Programming Guide

HP NonStop DCE Application Programming Guide429551-003
2
4. Building, Running, and Debugging NonStop DCE
Applications
Threading Considerations for NonStop DCE Applications 3-4
Sharing Process Resources 3-4
Using Standard Libraries 3-5
Addressing the Thread Stack 3-6
Making Process-Blocking Calls 3-6
Using Nowait Input or Output 3-7
Yielding Control 3-7
Using Signals 3-7
Spawning a New Process 3-8
Isolating Faults 3-8
NonStop DCE Jacket Routines 3-8
Single Versus Multiple Application Threads 3-13
Programs With a Single Application Thread 3-13
Programs With Multiple Independent Application Threads 3-14
Programs With Multiple Interdependent Application Threads 3-15
Keeping Application Design Simple 3-15
4. Building, Running, and Debugging NonStop DCE
Applications
Building NonStop DCE Programs 4-1
Running NonStop DCE Programs 4-3
Using the OSS Shell 4-3
Using NonStop DCE Environment Variables 4-4
Debugging NonStop DCE Programs 4-6
Starting Programs in Inspect, Native Inspect, or Visual Inspect 4-7
Debugging With Threads 4-7
5. Porting Applications
Information Please—A Sample Application 5-1
Porting Information Please to NonStop DCE 5-1
Required Change 5-2
Improvements 5-2
Conversion to the DCE 1.1 Server Initialization API 5-2
Changes to the Server Module 5-3
Starting the Server 5-4
A. Sample Application Listings
Straight Port to NonStop DCE A-1
The Interface Definition Language (IDL) File A-1
The Attribute Configuration File (ACF) A-2