blob: 8e6ff6893e964432e34eda7590f58eb5dc83b9ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package sync
type Mutex struct{}
func (m *Mutex) Lock()
func (m *Mutex) Unlock()
type WaitGroup struct{}
func (wg *WaitGroup) Add(delta int)
func (wg *WaitGroup) Done()
func (wg *WaitGroup) Wait()
|