episode15

command
v0.0.0-...-c6e3130 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

Concurrency Series: Internet Cafe

Watch The Screencast

Go in 5 Minutes, episode 15.

This screencast overviews the "Internet Cafe" problem on Trivial Concurrency Exercises for the Confused Newbie Gopher, and provides a solution.

We're finishing up the concurrency series - see https://github.com/arschles/go-in-5-minutes/issues/14 for what we've covered.

Screencast video: https://goin5minutes.com/screencast/episode_15_internet_cafe/

Other Notes

Extended Screencast

The code in this screencast has a bug - it may exit before all of the tourists are done using their computer. The extended screencast that accompanies this one shows how to fix it.

Get the extended screencast at https://gum.co/gifm-x-15.

Outline

  1. This problem
  • Broadcasting to many goroutines
  • A new way to use select
  1. Example code

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL