Documentation ¶
Overview ¶
HaltDetector sends detected Go runtime execution halts on channel ch.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HaltDetector ¶
type HaltDetector struct {
// contains filtered or unexported fields
}
HaltDetector sends detected Go runtime execution halts on channel ch.
func NewHaltDetector ¶
func NewHaltDetector(reportingThreshold ...time.Duration) (haltDetector *HaltDetector)
NewHaltDetector returns an object that sends detected Go runtime execution halts on a channel
func (*HaltDetector) Ch ¶
func (h *HaltDetector) Ch() (ch <-chan *HaltReport)
Ch returns a receive channel for reports of Go rutnime execution halts
- Ch never closes
func (*HaltDetector) Thread ¶
func (h *HaltDetector) Thread(g0 parl.Go)
Thread detects execution halts and sends them on h.ch
Click to show internal directories.
Click to hide internal directories.