Struct WorkStealingTakeResult

Result of an owner pop or thief steal attempt.

struct WorkStealingTakeResult(T);

found is true exactly when value was obtained from the deque. T.init is never used as an empty sentinel.

Fields

NameTypeDescription
found boolWhether the operation successfully removed one value.
value TTransported value when found is true; otherwise T.init.

Parameters

NameDescription
T transported element type