James Just James: A new sync primitive in golang


I’ve been working on lots of new stuff in mgmt and I had a synchronization problem that needed solving… Long story short, I built it into a piece of re-usable functionality, exactly like you might find in the sync package. For details and examples, please continue reading…
The Problem:
I want to multicast a signal to an arbitrary number of goroutines. As you might already know, this can already be done with a chan struct{}.


Source From: fedoraplanet.org.
Original article title: James Just James: A new sync primitive in golang.
This full article can be read at: James Just James: A new sync primitive in golang.

Advertisement


Random Article You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*