1 comment

[ 3.3 ms ] story [ 14.7 ms ] thread
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.