![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using the Ada Runtime Contents Preface
- Audience
- Other Resources
- Apex Documentation Roadmap
- Contacting Rational Technical Publications
- Contacting Rational Technical Support
Runtime System Overview
- Classification of Ada Runtime Systems
- The Apex Runtime Structure
- The Ada Tasking Layer
- The Ada Kernel Layer
- The Target Kernel Layer
- Ada I/O
- Debugging and the Runtime System
- Runtime System Interfaces
- Ada_Krn_Defs and Ada_Krn_I
Ada Kernel Layer
- Mutex and Condition Variable Object Types Definition
- Mutex
- Condition Variable
- Ada Kernel Layer Implementation
- Ada Program
- Ada Task
- Ada Task Master
- Kernel Scheduling
- Callout
- Task Storage
- Interrupts
- Time
- Alarm
- Mutex
- Condition Variable
- Binary Semaphore
- Counting Semaphore
- Mailbox
- Name
- Protected Records
Deadlock Detection
Apex Archive Interface Packages
- Interface packages
Fast Rendezvous Optimization
Debugging Library Unit Elaboration
- Begin Debugging the Program
Tasking
- Example
- Task Creation
- Task Activation
- Task Startup
- Delay Statements
- Task Entry Calls
- Accept and Select Statements
- Task Completion and Termination
- I/O in Tasking Programs
- Specifying the I/O Method
- Library Selection
- Runtime Created Tasks
- The Idle Task
- C Threads
- The Call Completion Task
- Interrupt/Signal Tasks
- Task Names
- Customization
- Task Name Comments
Exception Handling
- A Runtime View of Exception Handling
- Sources of Exceptions
- Explicit and Implicit exception handlers
- Effecting transfer of control to a handler
- Determining the Source of a Raised Exception at Run Time
- Getting a Call Stack from the Source of the Exception
- Getting More Descriptive Output when an Unhandled Exception is Encountered
- Dealing with Exception Chains
- Post-mortem Unhandled Exception Call Stack Analysis
- Detailed Usage of the stacktrace.ss Subprograms
- Dealing with Unhandled Exceptions
- Unwinding the Call Stack a Frame at a Time
- Unwinding the Call Stack from Arbitrary Places in an Application
- Unwinding the Call Stack from a Synchronous Interrupt (Signal) Handler
- Customization
- User Available Runtime Exception Handling Hooks
- Customizing the String Returned by Ada.Exceptions.Exception_Information
- Customizing the Code Called at Program Start-up
- Customizing the Trace Dump Format
Interrupt Handlers
- Overview of UNIX Interrupt (Signal) Handling
- Apex Ada Signal Handling
- Interrupt-Entry Tasks
- Declaring an Interrupt-Entry Task
- Installing the Interrupt Entry
- Invoking the Interrupt Entry
- Interrupt-Entry Signal Handling
- Advantages and Disadvantages of Interrupt Entries
- Ada Procedural Signal Handlers
- Declaring a Procedural Signal Handler
- Installing the Procedural Signal Handler
- Invoking the Procedural Signal Handler
- Procedural Signal Handling
- Non-Ada Signal Handlers
Files and I/O
- Predefined I/O Packages
- Opening and Creating Files
- Form Parameter for Create and Open Procedures
- Creating Files
- Opening Files
- Using Special File Types
- Using FIFO Special Files
- Using Files Associated with Terminal Devices
- File I/O
- Adding Output to Files
- Using Blocking and Nonblocking I/O
- Flushing Text Files
- Determining a File's Name
- I/O Deviations from POSIX.5
Memory Management
- Managing Heap Storage
- Memory Management Architecture
- Memory Management Configuration
- User Defined Storage Pools
- Memory Management Instrumentation
- Managing Stack Storage
- Storage_Size Clause and Pragma Storage_Size
- Pragma Main
- Configuration Package Parameters
- Session Switches
Sizes of Objects
- Concepts for Object Sizes
- Minimum, Default, Packed, and Unpacked Sizes
- Determination of Storage Size
- Sizes for Specific Types
- Discrete Types
- Integer Types
- Enumeration Types
- Floating-Point Types
- Record Types
- Array Types
Configuring the User Library
- Configuring the User Library
- Configuration Parameters
- Memory Management
- Code Coverage
- Trace Configuration Data
- Taskdeb Configuration Structure
- ADAPATH References
- Configuration_Table Structure
- V_Signal_Isr Routine
- V_Pending_Overflow_Callout Routine (For Non-Threaded Versions)
- Initialize/Finalize Routines
- V_Start_Program
- V_Start_Program_Self
- V_Start Program_Common
- Ts_Initialize
- V_Start_Program_Continue
- V_Integrated_Init
- V_Adainit
- V_Adafinal
- Configuring Ada.Real_Time
- Time Configuration Packages
- POSIX Time Configuration
- Time Configuration for Apex Embedded platforms
- Time Configuration for Apex Embedded for Rational Exec
- Time Configuration for Apex Embedded for Tornado
- Configuring Ada.Calendar
- The Calendar_Configuration Package
- Modifying Calendar_Configuration
- Using a Modified Calendar_Configuration Package
- Task Names
Switches
- Switches for Analyzing Ada Units
- Switches for the Rational Ada Code Generator
- Switches for Linking
- Switches for Execution
- Descriptions of Switches
Glossary
Using the Ada Runtime Index
Rational Software Corporation http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2002, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |