Curriculum Concurrency Sync primitives exercise 3 · mcq
Sync primitives
Pick the statement that's TRUE about sync.WaitGroup.
TypeScript reference
About this theme
sync.Mutex, sync.RWMutex, sync.WaitGroup, sync.Once. The classical concurrency toolbox. Go's culture prefers channels for orchestration and sync for protecting state. Use whichever makes the code clearer; don't pick a side as a religion.