Function WorkStealingDeque.steal

Attempts to remove one value from the thief end in FIFO order.

WorkStealingTakeResult!T steal() nothrow @nogc @safe;

Returns

Result with found == true and the removed value on success; otherwise found == false when no item can be claimed.

Thread Safety

May be called concurrently by multiple thief threads and concurrently with the single owner's operations.

Allocation

None.