Locks versus channels in concurrent Go - Publik Talk

Breaking

An informative website for every one.

Post Top Ad

Post Top Ad

Friday, July 13, 2018

Locks versus channels in concurrent Go




Locks

Go has popularized the mantra don't communicate by sharing memory; share memory by communicating. The language does have the traditional mutex (mutual exclusion construct) to coordinate access to shared memory, but it favors the use of channels to share information among goroutines.


read more

Author: mkalin@depaul.edu
Published at: Fri, 13 Jul 2018 03:00:00 -0400

Credits: https://www.opensource.com

No comments:

Post a Comment

Post Top Ad