Function Scoping

167

Performance Options

167

Parallel Programming Using OpenMP

167

OpenMP Implementation

167

OpenMP Header File

168

OpenMP Library

168

+O[no]openmp Command Line Option

169

_OPENMP Macro

169

Environment Variables in OpenMP

169

OMP_SCHEDULE

169

OMP_NUM_THREADS

169

OMP_DYNAMIC

170

OMP_NESTED

170

Runtime Library Functions in OpenMP

170

Execution Environment Functions

170

omp_set_num_threads

171

omp_get_num_threads

171

omp_get_max_threads

171

omp_get_thread_num

171

omp_get_num_procs

171

omp_in_parallel

171

omp_set_dynamic

172

omp_get_dynamic

172

omp_set_nested

172

omp_get_nested

172

Lock Functions

172

omp_init_lock and omp_init_nest_lock

173

omp_destroy_lock and omp_destroy_nest_lock

173

omp_set_lock and omp_set_nest_lock

173

omp_unset_lock and omp_unset_nest_lock

173

omp_test_lock and omp_test_nest_lock Functions

174

Timing Functions

174

omp_get_wtime

174

omp_get_wtick

174

9 Tools and Libraries

175

HP Specific Features of lex and yacc

175

Creating and Using Libraries

175

HP aC++ Libraries

176

Standard C++ Library

176

Introduction

176

Introduction to Using the Standard C++ Library

176

Differences between Standard C++ Library and Other Libraries

177

The Non-Object-Oriented Design of the Standard C++ Library

177

Smaller Source Code

178

Flexibility

178

Efficiency

178

Iterators: Mismatches and Invalidations

178

Templates: Errors and Code Bloat

178

Multithreading Problems

178

Standard C++ Library Reference

178

Incompatibilities Between the Library and the Standard

178

Tools.h++ Library

179

HP aC++ Runtime Support Library

179

IOStream Library

179

Contents 13

Page 13
Image 13
HP C/aC++ for PA-RISC Software manual Tools and Libraries 175, 170