MCPcopy Create free account
hub / github.com/maruel/panicparse / Goroutine

Struct Goroutine

stack/stack.go:781–799  ·  view source on GitHub ↗

Goroutine represents the state of one goroutine, including the stack trace.

Source from the content-addressed store, hash-verified

779
780// Goroutine represents the state of one goroutine, including the stack trace.
781type Goroutine struct {
782 // Signature is the stack trace, internal bits, state, which call site
783 // created it, etc.
784 Signature
785 // ID is the goroutine id.
786 ID int
787 // First is the goroutine first printed, normally the one that crashed.
788 First bool
789
790 // RaceWrite is true if a race condition was detected, and this goroutine was
791 // race on a write operation, otherwise it was a read.
792 RaceWrite bool
793 // RaceAddr is set to the address when a data race condition was detected.
794 // Otherwise it is 0.
795 RaceAddr uint64
796
797 // Disallow initialization with unnamed parameters.
798 _ struct{}
799}
800
801// Private stuff.
802

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected