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 is never used as an empty sentinel.
Fields
| Name | Type | Description |
|---|---|---|
found
|
bool | Whether the operation successfully removed one value. |
value
|
T | Transported value when found is true; otherwise T.
|
Parameters
| Name | Description |
|---|---|
| T | transported element type |