Skip to Main Content
Effective Concurrency in Go
book

Effective Concurrency in Go

by Burak Serdar
April 2023
Intermediate to advanced content levelIntermediate to advanced
212 pages
4h 47m
English
Packt Publishing
Content preview from Effective Concurrency in Go

2

Go Concurrency Primitives

This chapter is about the fundamental concurrency facilities of the Go language. We will first talk about goroutines and channels, the two concurrency building blocks that are defined by the language. Then, we also look at some of the concurrency utilities that are included in the standard library. We will cover the following topics:

  • Goroutines
  • Channels and the select statement
  • Mutexes
  • Wait groups
  • Condition variables

By the end of this chapter, you will have enough under your belt to tackle basic concurrency problems using language features and standard library objects.

Technical Requirements

The source code for this particular chapter is available on GitHub at https://github.com/PacktPublishing/Effective-Concurrency-in-Go/tree/main/chapter2 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Concurrency in Go

Concurrency in Go

Katherine Cox-Buday

Publisher Resources

ISBN: 9781804619070Supplemental Content