Curriculum Concurrency Sync primitives exercise 4 · fill-word
Sync primitives
Type the method name on sync.Mutex that ACQUIRES the
lock — paired with Unlock to release.
TypeScript reference
Fill the blanks →
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.