mirror of
https://github.com/golang/go
synced 2024-11-22 00:44:39 -07:00
Make ptrace_linux compile with recent changes to switch type
checking. R=rsc APPROVED=rsc DELTA=11 (0 added, 0 deleted, 11 changed) OCL=32839 CL=32841
This commit is contained in:
parent
7955490de2
commit
e2e6becf3a
@ -61,17 +61,17 @@ const (
|
||||
type threadState string;
|
||||
|
||||
const (
|
||||
running threadState = "Running";
|
||||
singleStepping = "SingleStepping"; // Transient
|
||||
stopping = "Stopping"; // Transient
|
||||
stopped = "Stopped";
|
||||
stoppedBreakpoint = "StoppedBreakpoint";
|
||||
stoppedSignal = "StoppedSignal";
|
||||
stoppedThreadCreate = "StoppedThreadCreate";
|
||||
stoppedExiting = "StoppedExiting";
|
||||
exiting = "Exiting"; // Transient (except main thread)
|
||||
exited = "Exited";
|
||||
detached = "Detached";
|
||||
running threadState = "Running";
|
||||
singleStepping threadState = "SingleStepping"; // Transient
|
||||
stopping threadState = "Stopping"; // Transient
|
||||
stopped threadState = "Stopped";
|
||||
stoppedBreakpoint threadState = "StoppedBreakpoint";
|
||||
stoppedSignal threadState = "StoppedSignal";
|
||||
stoppedThreadCreate threadState = "StoppedThreadCreate";
|
||||
stoppedExiting threadState = "StoppedExiting";
|
||||
exiting threadState = "Exiting"; // Transient (except main thread)
|
||||
exited threadState = "Exited";
|
||||
detached threadState = "Detached";
|
||||
)
|
||||
|
||||
func (ts threadState) isRunning() bool {
|
||||
|
Loading…
Reference in New Issue
Block a user