Document revision date: 19 July 1999
OpenVMS Programming Concepts Manual
Previous
Contents
Index
Chapter 5
5
Using Asynchronous System Traps
5.1
Overview of AST Routines
5.2
Declaring and Queuing ASTs
5.2.1
Reentrant Code and ASTs
5.2.1.1
The Call Frame
5.2.2
Shared Data Access with Readers and Writers
5.2.3
Shared Data Access and AST Synchronization
5.2.4
User ASTs and Asynchronous Completions
5.3
Common Mistakes in Asynchronous Programming
5.4
Using System Services for AST Event and Time Delivery
5.5
Access Modes for AST Execution
5.6
Calling an AST
5.7
Delivering ASTs
5.7.1
The AST Service Routine
5.7.2
Conditions Affecting AST Delivery
5.7.3
Kernel Threads AST Delivery (Alpha Only)
5.7.3.1
Outer Mode (User and Supervisor) Non-Serial Delivery of ASTs
5.7.3.2
Inner Mode (Executive and Kernel) AST Delivery
5.8
ASTs and Process Wait States
5.8.1
Event Flag Waits
5.8.2
Hibernation
5.8.3
Resource Waits and Page Faults
5.9
Examples of Using AST Services
Chapter 6
6
System Time Operations
6.1
System Time Format
6.1.1
Absolute Time Format
6.1.2
Delta Time Format
6.2
Time Conversion and Date/Time Manipulation
6.2.1
Time Conversion Routines
6.2.1.1
Calculating and Displaying Time with SYS$GETTIM and LIB$SUBX
6.2.1.2
Obtaining Absolute Time with SYS$ASCTIM and SYS$BINTIM
6.2.1.3
Obtaining Delta Time with SYS$BINTIM
6.2.1.4
Obtaining Numeric and ASCII Time with SYS$NUMTIM
6.2.2
Date/Time Manipulation Routines
6.3
Timer Routines Used to Obtain and Set Current Time
6.3.1
Obtaining Current Time and Date with LIB$DATE_TIME
6.3.2
Obtaining Current Time and Date with SYS$GETTIM
6.3.3
Setting the Current Time with SYS$SETIME
6.4
Routines Used for Timer Requests
6.4.1
Setting Timer Requests with SYS$SETIMR
6.4.2
Canceling a Timer Request with SYS$CANTIM
6.4.3
Scheduling Wakeups with SYS$WAKE
6.4.4
Canceling a Scheduled Wakeup with SYS$CANWAK
6.4.5
Executing a Program at Timed Intervals
6.5
Routines Used for Timer Statistics
6.6
Date/Time Formatting Routines
6.6.1
Performing Date/Time Logical Initialization
6.6.2
Selecting a Format
6.6.2.1
Formatting Run-Time Mnemonics
6.6.2.2
Specifying Formats at Run Time
6.6.2.3
Specifying Input Formats at Run Time
6.6.2.4
Specifying Output Formats at Run Time
6.6.2.5
Specifying Formats at Compile Time
6.6.2.6
Specifying Input Format Mnemonics at Compile Time
6.6.2.7
Specifying Output Formats at Compile Time
6.6.3
Converting with the LIB$CONVERT_DATE_STRING Routine
6.6.4
Retrieving with LIB$GET_DATE_FORMAT Routine
6.6.4.1
Using User-Defined Output Formats
6.7
Coordinated Universal Time Format
Chapter 7
7
Using Run-Time Library Routines to Access Operating System Components
7.1
System Service Access Routines
7.2
Access to the Command Language Interpreter
7.2.1
Obtaining the Command Line
7.2.2
Chaining from One Program to Another
7.2.3
Executing a CLI Command
7.2.4
Using Symbols and Logical Names
7.2.5
Disabling and Enabling Control Characters
7.2.6
Creating and Connecting to a Subprocess
7.3
Access to VAX Machine Instructions
7.3.1
Variable-Length Bit Field Instruction Routines
7.3.2
Integer and Floating-Point Routines
7.3.3
Queue Access Routines
7.3.4
Character String Routines
7.3.5
Miscellaneous Instruction Routines
7.4
Processwide Resource Allocation Routines
7.4.1
Allocating Logical Unit Numbers
7.4.2
Allocating Event Flag Numbers
7.5
Performance Measurement Routines
7.6
Output Formatting Control Routines
7.7
Miscellaneous Interface Routines
7.7.1
Indicating Asynchronous System Trap in Progress
7.7.2
Create a Directory or Subdirectory
7.7.3
File Searching Routines
7.7.4
Inserting an Entry into a Balanced Binary Tree
Previous
Next
Contents
Index
privacy and legal statement
5841PRO_CONTENTS_002.HTML