Document revision date: 19 July 1999
Guide to DECthreads
Previous
Contents
Index
E
errno variable #1
errno variable #2
Error conditions
detecting
from DECthreads application programming interface
internal to DECthreads
Errorcheck mutexes
Event flags
Event flags (OpenVMS)
Example programs
asynchronous user interface
multithreaded asynchronous user interface
multithreaded prime number search
prime number search
Exception scopes
Exceptions
address
cancelation of threads
CATCH macro
catching
all
specific
CATCH_ALL macro
conventions for modular use
debugging when unhandled (OpenVMS)
DECthreads-defined objects
DECthreads exceptions package
DECthreads package
epilogue actions for
failing
due to condition handlers
FINALLY macro #1
FINALLY macro #2
importing error status into
interoperability of
language-specific
matching two #1
matching two #2
naming conventions for
obtaining error status from #1
obtaining error status from #2
operations on
programming for
programming languages supported for
pthread_exc_get_status_np() routine #1
pthread_exc_get_status_np() routine #2
pthread_exc_matches_np() routine #1
pthread_exc_matches_np() routine #2
pthread_exc_report_np() routine #1
pthread_exc_report_np() routine #2
pthread_exc_set_status_np() routine #1
pthread_exc_set_status_np() routine #2
purpose of
RAISE macro
raising
referencing when caught
relation to return codes and signals
reporting
reporting when caught
RERAISE macro #1
RERAISE macro #2
reraising
scope of
setting error status in
status
synchronous signals reported as
termination of
THIS_CATCH exception object
TRY macro
unhandled
Expiration time
obtaining
F
FINALLY macro #1
FINALLY macro #2
First-in/first-out (FIFO) scheduling policy
Foreground scheduling policy
Fork handlers (DIGITAL UNIX)
Functional models
for multithreaded programming
boss/worker
combinations
pipelining
work crew
G
$GETJPI system service
MULTITHREAD item code
$GETJPI system service (OpenVMS)
MULTITHREAD item code
Global lock
See DECthreads, global lock
Granularity
avoiding errors
compiler support for
defined
determinants of
members of composite data objects
word tearing
Guardsize attribute
of thread attributes object #1
of thread attributes object #2
getting #1
getting #2
setting #1
setting #2
H
Handlers
cleanup
cleanup for threads
condition (OpenVMS)
fork (DIGITAL UNIX)
interrupt
Header files
DECthreads
$HIBER system service
$HIBER system service (OpenVMS)
I
Images (OpenVMS)
compiling for DECthreads
linking DECthreads-based
Inherit scheduling attribute
of thread attributes object
getting
setting
Interfaces
to DECthreads
Compaq proprietary CMA (cma) #1
Compaq proprietary CMA (cma) #2
in C language
in languages other than C
obsolete
POSIX 1003.4a/Draft 4 (d4) #1
POSIX 1003.4a/Draft 4 (d4) #2
POSIX.1c (pthread)
thread-independent services (tis) #1
thread-independent services (tis) #2
thread-independent services (tis) #3
undocumented but supported
Interrupt handlers
for threads
K
Kernel threads
enabling in existing OpenVMS images
OpenVMS linker options
querying use of
querying use of (OpenVMS)
relation to DECthreads user threads
relation to user threads
under DIGITAL UNIX
under OpenVMS
virtual processors for
virtual processors for (OpenVMS)
L
Ladebug debugger (DIGITAL UNIX)
Libraries
for DECthreads
lacking thread safety #1
lacking thread safety #2
shared (DIGITAL UNIX)
linking with DECthreads
using with DECthreads
thread-safe #1
thread-safe #2
Linking applications
under DIGITAL UNIX
under OpenVMS
Lock acquisition
Locks
global
See DECthreads, global lock
read-write
M
Macros
CATCH
CATCH_ALL
FINALLY #1
FINALLY #2
PTHREAD_COND_INITIALIZER #1
PTHREAD_COND_INITIALIZER #2
PTHREAD_COND_INITWITHNAME_NP
PTHREAD_MUTEX_INITIALIZER #1
PTHREAD_MUTEX_INITIALIZER #2
PTHREAD_MUTEX_INITWITHNAME
PTHREAD_ONCE_INIT
RAISE macro
RERAISE #1
RERAISE #2
TRY
restrictions
Memory
dynamic
shared
stack
identifying overflow
static
synchronizing threads' access to
Multiprocessing systems
use of DECthreads under
Multithreaded programming
asynchronous programming techniques
asynchronous thread execution
cancelation point routines
cancelation points
dependencies upon other libraries
dependencies upon other libraries
multiple thread libraries unsupported
dependencies upon other libraries
not thread-safe
thread-reentrant
thread-safe
detecting DECthreads error conditions
example programs
asynchronous user interface
prime number search
thread cancelation
functional models
boss/worker
combinations
pipelining
work crew
managing a thread's stack
one-time initialization #1
one-time initialization #2
one-time initialization #3
potential issues
deadlocks
dependence upon nonreentrant software
dependence upon nonreentrant software
priority inversion
program complexity
race conditions
programming errors
initializing DECthreads objects after thread creation
passing stack local data
thread scheduling as thread synchronization
scheduling threads
interaction with thread contention scope
priority inversion
real-time
signals (DIGITAL UNIX)
avoiding use of
synchronizing memory access #1
synchronizing memory access #2
avoiding deadlocks
avoiding race conditions
synchronizing memory access
distinguishing mutexes and condition variables
synchronizing memory access
signaling a condition variable
using memory
dynamic
shared
stack
static
writing thread-safe libraries
yielding thread execution
Mutex attributes objects #1
Mutex attributes objects #2
creating
destroying
initializing
mutex type attribute
getting #1
getting #2
setting #1
setting #2
obtaining the value of the process-shared attribute
setting the value of the process-shared attribute
Mutex type attribute
of mutex attributes object
Mutexes
creating #1
creating #2
DECthreads global
locking #1
locking #2
unlocking #1
unlocking #2
destroying #1
destroying #2
distinguishing from condition variables
in thread-safe library code
initializing #1
initializing #2
locking #1
locking #2
locking #3
locking #4
locking, before signaling a condition variable
naming #1
naming #2
operations on
process-shared
protecting call to code lacking thread safety
types of
default
errorcheck
normal
recursive
under the DECthreads thread-independent services (tis) interface
unlocking #1
unlocking #2
using static data before release of
Previous
Next
Contents
Index
privacy and legal statement
6101PRO_INDEX_001.HTML