Skip to content

Comment on Golang Generic Mutex

Comments

I submit again this library that I made since I added the much needed "value mutex" that do not need to be initialized (like you would use a normal sync.Mutex)

Single file, easily copyable in your project, providing generic strongly typed mutex which unlock much safer patterns.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.