crossbeam
crossbeam copied to clipboard
Move WaitGroup count outside Mutex
By moving the WaitGroup counter outside of the Mutex the Clone and Drop implementations no longer have to lock at all except for the final Drop which wakes the others.
CI failures seem unrelated?