Registry / utility / ngaut-sync2

ngaut-sync2

JSON →
library0.0.0-20141008032647-7a24ed77b2efgogounverified

Package sync2 provides additional synchronization primitives for Go.

go get github.com/ngaut/sync2
INSTALL
IMPORT
SIG · NGAUT-SYNC2
N
ngaut-sync2
utilitygov0.0.0-20141008032647-7a24ed77b2ef
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sync2
github.com/ngaut/sync2

Basic usage of WaitGroup from sync2

package main import ( "fmt" "github.com/ngaut/sync2" ) func main() { var wg sync2.WaitGroup wg.Add(1) go func() { defer wg.Done() fmt.Println("Hello from goroutine") }() wg.Wait() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20141008032647-7a24ed77b2eflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
ngaut-sync2 — go get ngaut-sync2 · libregistry