Open Catya3 opened 1 month ago
A very common scenario
Lock
instead of adding new component?sync.PolyLock
?WaitGroup
? People familiar with go immediately understand what is this. Especially if it's gonna be sync.WaitGroup
We decided to create sync
package
BTW other names could be LockAll
or LockMany
Name TBD
This is used when you have multiple
sig
and you want to wait on all of them to do something. A very common scenario.