sleighPending: Class ``sleighPending"
Description
Class representing sleighPending.Objects from the Class
Objects can be created by calls of the form
sleighPending(nws, numTasks, bn, ss)
or
new("sleighPending", nws, numTasks, bn, ss)
.
nws
:- netWorkSpace class object.
numTasks
:- number of submitted tasks.
bn
:- barrier names.
ss
:- sleigh state.
Slots
nws
:- Object of class
"netWorkSpace"
. numTasks
:- The number of pending tasks in sleigh.
numSubmitted
:- The number of tasks submitted.
accumulator
:- Function used as accumulator.
barrierName
:- Character string giving the barrier name.
sleighState
:- Object of class
"environment"
representing the sleigh state. state
:- Object of class
"environment"
representing the sleighPending
state.
Methods
- initialize
signature(.Object = "sleighPending")
: sleighPending
class constructor. - checkSleigh
signature(.Object = "sleighPending")
: returns
the number of results yet to be generated for the pending sleigh job. - waitSleigh
signature(.Object = "sleighPending")
: wait and block for the results to be generated for the pending sleigh job.
Details
This class object is usually obtained from non-blocking eachElem
or non-blocking eachWorker
.