Atomically applies dg to some element of the Bag. Progress: Lock-free if there are no more than width total concurrent threads, otherwise deadlock-free.
See Implementation
Atomically applies dg to some element of the Bag. Progress: Lock-free if there are no more than width total concurrent threads, otherwise deadlock-free.