cond_signal

command
v0.0.0-...-922015f Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package main illustrates a goroutine that is waiting for a signal and another goroutine that is sending the signals. We have have a queue of fixed length and some items on the queue, we want to enqueue items onto the queue as soon as possible when there is room. We want to get notified as soon as there is room in the queue to add new items.

Jump to

Keyboard shortcuts

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