Glossary: Go Beyond the Basics
critical section
The code between `Lock` and `Unlock`, which only one goroutine may run at a time. Keep it short so others don't wait long.
Glossary: Go Beyond the Basics
The code between `Lock` and `Unlock`, which only one goroutine may run at a time. Keep it short so others don't wait long.