Sign In

  • Username:
  • Password:

Upload File



Using Channel to Synchronize Goroutines

Channels are the pipes that connect concurrent goroutines. We can send and receive values from one goroutines to another with channel.
And channels can also used to synchronize execution across goroutines.
I also wrote a Go library Barbarian which provides a convenient interface to run your program concurrently.