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.
Click to show internal directories.
Click to hide internal directories.