IdleSignalling
An object that returns default values and ignores received signals.
Attributes
- Graph
-
- Supertypes
-
class DefaultSignallingtrait VolatileAborttrait Signallingclass Objecttrait Matchableclass AnyShow all
- Self type
-
IdleSignalling.type
Members list
Value members
Inherited methods
Sends an abort signal to other workers.
Sends an abort signal to other workers.
Abort flag being true means that a worker can abort and produce whatever result, since its result will not affect the final result of computation. An example of operations using this are find
, forall
and exists
methods.
Attributes
- Definition Classes
- Inherited from:
- VolatileAbort
Returns the value of the index flag.
Returns the value of the index flag.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Attributes
- Returns
-
the value of the index flag
- Inherited from:
- DefaultSignalling
Checks whether an abort signal has been issued.
Checks whether an abort signal has been issued.
Abort flag being true means that a worker can abort and produce whatever result, since its result will not affect the final result of computation. An example of operations using this are find
, forall
and exists
methods.
Attributes
- Returns
-
the state of the abort
- Definition Classes
- Inherited from:
- VolatileAbort
Sets the value of the index flag.
Sets the value of the index flag.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Value parameters
- f
-
the value to which the index flag is set.
Attributes
- Inherited from:
- DefaultSignalling
Sets the value of the index flag if argument is greater than current value. This method does this atomically.
Sets the value of the index flag if argument is greater than current value. This method does this atomically.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Value parameters
- f
-
the value to which the index flag is set
Attributes
- Inherited from:
- DefaultSignalling
Sets the value of the index flag if argument is lesser than current value. This method does this atomically.
Sets the value of the index flag if argument is lesser than current value. This method does this atomically.
The index flag holds an integer which carries some operation-specific meaning. For instance, takeWhile
operation sets the index flag to the position of the element where the predicate fails. Other workers may check this index against the indices they are working on and return if this index is smaller than their index. Examples of operations using this are takeWhile
, dropWhile
, span
and indexOf
.
Value parameters
- f
-
the value to which the index flag is set
Attributes
- Inherited from:
- DefaultSignalling
A read only tag specific to the signalling object. It is used to give specific workers information on the part of the collection being operated on.
A read only tag specific to the signalling object. It is used to give specific workers information on the part of the collection being operated on.
Attributes
- Inherited from:
- DefaultSignalling