Index_P


P

packages, building with automake/autoconf, 97107
parse tree (figs.), 395396
parser generation
introduction, 393
lexical analysis and, 396406
lexical analysis and grammar parsing, 393396
parsing
command-line options with getopt, getopt_long, 310315
phrases with flex and bison flows (fig.), 413
tokenization, and, 394
paste command, 338340
patsubst function, 49
pattern-matching rules, 4951
pattern space, holding, 379
pause function, 179, 191, 193
percent sign (%)
token identifiers, 403
wildcard character, 49
performance, profiling application, 7576
pid
arguments for kill (table), 194
arguments for waitpid (table), 187
pipe function, 139140
pipes
described, 135
pipe model, 135138
ports, and sockets programming, 150
POSIX
and exec function variants, 198
signals, 201204
threads. See pthreads
pread/pwrite API, 133
primitives, socket, 160166
print command, 377378
printf command, 387
printing
dependencies for given application, 64
suppressing before command execution, 48
process scheduler, Linux kernel component, 1314
processes
APIs, 208
catching, raising a signal, 179181
communication, coordination between, 302
debugging existing, finished, 449451
gathering system information, 317319
IDs, 175
suspending with wait, 178179
synchronization with semaphores, 255258
taking snapshot of, 204206
traditional, and related APIs (table), 184
types of, 173174
processors
architectural optimizations, 3436
and Linux kernel, 1718
profiling
application coverage with gcov, 7576
described, 8586
prog command, 330332
programming
decision points, 456
pipe model, 135138
shared memory, 283307
sockets, 147152
programming languages
Awk, 381391
Eiffel, 460
GCC supported, 27
programs
See also applications
awk, structure of, 382
changing in operating, 446
measuring time spent in functions, 86
one-line awk, 391
optimizing timing of, 94
standard in/out/error (fig.), 331
projects
directory structure of example (fig.), 42
make vs. automake, 9798
ps command, 204205
pthread_cancel function, 228
pthread_create function, 212214, 216
pthread_detach function, 217
pthread_exit function, 212214
pthread_join function, 215217
pthread_mutex_destroy function, 218220
pthread_mutex_lock, _unlock, _trylock functions, 218220
pthreads
API, 212214
building multithreaded applications, 229230
programming, 209211
pthreads API, 212
thread condition variables , 222229
thread management, 214215
thread mutexes , 218222
thread synchronization, 215218
pthread_self function, 214
push function, 446
pwrite/pread API, 133



GNU/Linux Application Programming
GNU/Linux Application Programming (Programming Series)
ISBN: 1584505680
EAN: 2147483647
Year: 2006
Pages: 203
Authors: M. Tim Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net