signaling4

command
v0.0.0-...-71bf571 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: MIT Imports: 4 Imported by: 0

README

signaling4

context.WithCancel used for signaling a goroutine to stop, using a sync.WaitGroup to report back its status.

This shows how to recover from panics inside goroutines and can, with a slight modification of removing the recover call, be used to demonstrate that a goroutine that panics takes down the entire process.

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