golang/sync
View on GitHub ↗ ★ 936 Go
[mirror] concurrency primitives
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2017-07-14 · latest 2025-07-31
20082026
-
…github org in non-toy code: 1. https://github.com/golang/tools/blob/f7d99c1a286d6ec8bd4516a... 2. https://github.com/golang/sync/blob/7fad2c9213e0821bd78435a9... There are dozens and dozens throughout the stdlib and other popular go code.…
comment by TheDong · 2025-07-31 · in Go’s race detector has a mutex blind spot -
…about them, but I don't know how the golang.org/x stuff is maintained; looks like this one is here: https://github.com/golang/sync
comment by kbolino · 2024-10-11 · in Show HN: Pocache, preemptive optimistic caching for Go -
…like the most sensible thing to do; even golang's new sync.Map type is implemented with mutexs (eg https://github.com/golang/sync/blob/master/syncmap/map.go#L2... ). Idiomatic doesn't mean ALWAYS do this no matter what; it is the natural…
comment by exacube · 2017-09-08 · in Golang Concurrency Design Considered Harmful -
…is full of unsafe.Pointer as workaround for lack of generics, while achieving good performance. https://github.com/golang/sync/blob/master/syncmap/map.go
comment by pjmlp · 2017-07-14 · in Toward Go 2