This section lists the routines in the Parallel Run-Time Support Library. KAP places calls to these routines into the code to handle parallel programming tasks such as synchronization and process control. KAP supports static scheduling only.
The following are the routines:
mppfrk (proutine, # of formal arguments, arg-1,
arg-2, ...)
Microtasking interface routine that passes the subroutine
proutine to be concurrently executed. Microtasked proutine has
#-of-formal-arguments arguments, with addresses arg-1,
arg-2, ...
mppfkd ()
Routine that returns 0 if only one process is running, and a nonzero value if the program is already executing in parallel.
mppend ()
Routine that kills all forked processes and cleans up the interprocess communication data structure.
mppecs (id)
Routine that enters critical section id
.
mppxcs (id)
Routine that exits critical section id
.
mppdef (id, do_lower_bound, increment)
Routine that defines a synchronization construct named
id
.
mppsnd (id, iter)
Routine that sends sync iter
for synchronization
construct id
.
mppwai (id, iter)
Routine that waits on sync iter
for synchronization
construct id
.
mppbar (id)
Routine that processes barrier id
.
mppbop (id)
Routine that begins one-processor section id
.
mppeop (id)
Routine that ends one-processor section id
.