Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Murali Paramasivam, Inge Rodriguez, Edison Kwok, Keigo Matsubara
Developing and Porting C and C++ Applications on AIX
Copyright
Figures
Tables
Preface
Summary of changes
C and C++ compilers
C for AIX Version 6.0
VisualAge C++ for AIX Version 6.0
Installing the compilers
Activating the compilers
Activating the LUM server
Enrolling a product license
Invoking the compilers
Where to find help
Compiling and linking
32- and 64-bit development environments
Compiling and linking: A quick overview
Resolving symbols at link-time
Supported link methods on AIX
Run-time linking
Dynamic loading
Commands when manipulating objects and libraries
Creating shared objects
Shared libraries in a development environment
Understanding user process models
User process models on AIX
The 32-bit user process model
The 64-bit user process model
Introduction to shared memory
Shared memory segments allocation order
Large page support
Managing the memory heap
Malloc subsystem
Memory allocators
Use of MALLOCDEBUG options
Heap management using MEMDBG
Creating DLPAR-aware applications
Dynamic logical partitioning overview
The process flow of a DLPAR operation
DLPAR-safe and DLPAR-aware applications
Integrating a DLPAR operation into the application
Programming hints and tips
Programming recommendations
Diagnosing compile-time errors
Diagnosing link-time errors
Diagnosing run-time errors
Debugging your applications
Working with core files
Using the printf()-debug method
Preparing your application for debugging
Using dbx
Debugging with the truss command
Using the trace facility
Introduction to POSIX threads
Overview of threads
POSIX threads (Pthreads) on AIX
Pthread management
Data synchronization between Pthreads
Thread-specific data
Pthread cancellation
Pthread priority and scheduling
Pthread specific environment variables in AIX
User API for Solaris threaded applications
Program parallelization using OpenMP
Introduction to OpenMP
The OpenMP programming model
Classification of OpenMP directives
Parallel region construct
Work-sharing constructs
Combined parallel work-sharing constructs
Synchronization constructs
Data environment: The threadprivate directive
Data-sharing attribute clauses
Run-time library functions
Environment variables
Dealing with C++ templates
What is a template
AIX template implementations
Simple code layout method
Template instantiation file method
Template registry: The preferred method
Standard C++ Library and STL
Creating shared objects from C++ source codes
Creating shared objects from C++ source codes
Shared objects with templates
Packaging your applications
Understanding the AIX standard packaging
Packaging applications using mkinstallp
Previous versions of C and C++ compiler products
Compiler product similarities
IBM C compilers
IBM C++ compilers
Useful information for linking and loading on AIX
A brief history of UNIX programming development
Historical view of linking and loading in AIX
Definitions
Subroutine references for shmat and mmap services
References for shmat services
References for mmap services
Subroutine references for POSIX threads
Subroutines defined in the POSIX thread standard
Subroutines defined in the UNIX 98 Specification
Extensions to POSIX thread
Supported IBM SMP directives
IBM SMP directives
Sample compiler listing
Compiler listing
Abbreviations and acronyms
Related publications
IBM Redbooks
Referenced Web sites
How to get IBM Redbooks
Back cover
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Back cover
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset