Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
GHC.RTS.Events.Analysis.Thread
Documentation
data ThreadState Source
This datatype defines the state machine for a single thread.
Constructors
ThreadInitial | |
ThreadQueued | |
ThreadRunning | |
ThreadStopped | |
ThreadFinal |
Instances
threadMachine :: Machine ThreadState EventInfo Source
This state machine tracks the events processed by a thread.