Go Package sync
Jump to navigation
Jump to search
External
Internal
Overview
The sync
package provides synchronization primitives to use when synchronization between goroutines is necessary.
However, other than the Once
and WaitGroup
types, most sync
primitives are intended for use by low-level library routines. Higher level synchronization is better done via channels and communication.