VxWorks Application Programmer's Guide, 6.6 Programmers Guide
User Manual:
Open the PDF directly: View PDF
Page Count: 402 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- VxWorks Application Programmer's Guide, 6.6
- Contents
- 1 Overview
- 2 Applications and Processes
- 2.1 Introduction
- 2.2 Configuring VxWorks For Real-time Processes
- 2.3 Real-time Processes
- 2.4 POSIX PSE52 Support
- 2.5 Developing VxWorks Applications
- 2.5.1 C and C++ Libraries
- 2.5.2 Application Structure
- 2.5.3 VxWorks Header Files
- 2.5.4 Applications, Processes, and Tasks
- 2.5.5 Applications and VxWorks Kernel Component Requirements
- 2.5.6 Building Applications
- 2.5.7 C++ Applications
- 2.5.8 Processes and Hook Routines
- 2.5.9 Application APIs, System Calls, and Library Routines
- 2.5.10 POSIX
- 2.6 Developing Application Libraries
- 2.6.1 Library Initialization
- 2.6.2 Library Termination
- 2.6.3 Developing Static Libraries
- 2.6.4 Developing Shared Libraries
- Configuring VxWorks for Shared Libraries
- Building Shared Libraries and Dynamic Applications
- VxWorks Run-time C Library libc.so
- Using Plug-Ins
- Using readelf to Examine Dynamic ELF Files
- Getting Runtime Information About Shared Libraries
- Debugging Shared Libraries
- Working With Shared Libraries From a Windows Host
- 2.7 Creating and Managing Shared Data Regions
- 2.8 Executing Applications
- 2.9 Bundling Applications with a VxWorks System using ROMFS
- 3 Multitasking
- 3.1 Introduction
- 3.2 Tasks and Multitasking
- 3.3 Task Scheduling
- 3.4 Task Creation and Management
- 3.5 Task Error Status: errno
- 3.6 Task Exception Handling
- 3.7 Shared Code and Reentrancy
- 3.8 Intertask and Interprocess Communication
- 3.9 Public and Private Objects
- 3.10 Shared Data Structures
- 3.11 Mutual Exclusion
- 3.12 Semaphores
- 3.13 Message Queues
- 3.14 Pipes
- 3.15 VxWorks Events
- 3.16 Message Channels
- 3.17 Network Communication
- 3.18 Signals
- 3.19 Timers
- 4 POSIX Facilities
- 4.1 Introduction
- 4.2 Configuring VxWorks with POSIX Facilities
- 4.3 General POSIX Support
- 4.4 Standard C Library: libc
- 4.5 POSIX Header Files
- 4.6 POSIX Namespace
- 4.7 POSIX Process Support
- 4.8 POSIX Clocks and Timers
- 4.9 POSIX Asynchronous I/O
- 4.10 POSIX Advisory File Locking
- 4.11 POSIX Page-Locking Interface
- 4.12 POSIX Threads
- 4.12.1 POSIX Thread Stack Guard Zones
- 4.12.2 POSIX Thread Attributes
- 4.12.3 VxWorks-Specific Pthread Attributes
- 4.12.4 Specifying Attributes when Creating Pthreads
- 4.12.5 POSIX Thread Creation and Management
- 4.12.6 POSIX Thread Attribute Access
- 4.12.7 POSIX Thread Private Data
- 4.12.8 POSIX Thread Cancellation
- 4.13 POSIX Thread Mutexes and Condition Variables
- 4.14 POSIX and VxWorks Scheduling
- 4.15 POSIX Semaphores
- 4.16 POSIX Message Queues
- 4.17 POSIX Signals
- 4.18 POSIX Memory Management
- 4.19 POSIX Trace
- 5 Memory Management
- 6 I/O System
- 6.1 Introduction
- 6.2 Configuring VxWorks With I/O Facilities
- 6.3 Files, Devices, and Drivers
- 6.4 Basic I/O
- 6.4.1 File Descriptors
- 6.4.2 Standard Input, Standard Output, and Standard Error
- 6.4.3 Standard I/O Redirection
- 6.4.4 Open and Close
- 6.4.5 Create and Remove
- 6.4.6 Read and Write
- 6.4.7 File Truncation
- 6.4.8 I/O Control
- 6.4.9 Pending on Multiple File Descriptors with select( )
- 6.4.10 POSIX File System Routines
- 6.5 Buffered I/O: stdio
- 6.6 Other Formatted I/O
- 6.7 Asynchronous Input/Output
- 6.8 Devices in VxWorks
- 7 Local File Systems
- 7.1 Introduction
- 7.2 File System Monitor
- 7.3 Virtual Root File System: VRFS
- 7.4 Highly Reliable File System: HRFS
- 7.4.1 Configuring VxWorks for HRFS
- 7.4.2 Configuring HRFS
- 7.4.3 HRFS and POSIX PSE52
- 7.4.4 Creating an HRFS File System
- 7.4.5 Transactional Operations and Commit Policies
- 7.4.6 Configuring Transaction Points at Runtime
- 7.4.7 File Access Time Stamps
- 7.4.8 Maximum Number of Files and Directories
- 7.4.9 Working with Directories
- 7.4.10 Working with Files
- 7.4.11 Crash Recovery and Volume Consistency
- 7.4.12 I/O Control Functions Supported by HRFS
- 7.5 MS-DOS-Compatible File System: dosFs
- 7.5.1 Configuring VxWorks for dosFs
- 7.5.2 Configuring dosFs
- 7.5.3 Creating a dosFs File System
- 7.5.4 Working with Volumes and Disks
- 7.5.5 Working with Directories
- 7.5.6 Working with Files
- 7.5.7 Disk Space Allocation Options
- 7.5.8 Crash Recovery and Volume Consistency
- 7.5.9 I/O Control Functions Supported by dosFsLib
- 7.5.10 Booting from a Local dosFs File System Using SCSI
- 7.6 Raw File System: rawFs
- 7.7 CD-ROM File System: cdromFs
- 7.8 Read-Only Memory File System: ROMFS
- 7.9 Target Server File System: TSFS
- 8 Error Detection and Reporting
- 9 C++ Development
- A Kernel to RTP Migration
- A.1 Introduction
- A.2 Migrating Kernel Applications to Processes
- A.2.1 Compiling Code for Both User and Kernel Mode
- A.2.2 Reducing Library Size
- A.2.3 Limiting Process Scope
- A.2.4 Using C++ Initialization and Finalization Code
- A.2.5 Eliminating Hardware Access
- A.2.6 Eliminating Interrupt Contexts In Processes
- A.2.7 Redirecting I/O
- A.2.8 Process and Task API Differences
- A.2.9 Semaphore Differences
- A.2.10 POSIX Signal Differences
- A.2.11 Networking Issues
- A.2.12 Header File Differences
- A.3 Differences in Kernel and RTP APIs
- Index