Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Goes ¶
type Goes struct {
// contains filtered or unexported fields
}
Goes to run and manage life-cycle of go routines.
type Signal ¶ added in v1.0.2
type Signal struct {
// contains filtered or unexported fields
}
Signal a rendezvous point for goroutines waiting for or announcing the occurrence of an event. It's more friendly than sync.Cond, since it's channel base. That means you can do channel selection to wait for an event.
func (*Signal) Broadcast ¶ added in v1.0.2
func (s *Signal) Broadcast()
Broadcast wakes all goroutines that are waiting on s.
Click to show internal directories.
Click to hide internal directories.