Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

enum KPRF_TYPE ( THREADSTATE   ) 

The thread state.

Definition at line 306 of file prfcore.h.h.

References KPRF_TYPE.

{
    /** The thread hasn't been used yet. */
    KPRF_TYPE(,THREADSTATE_UNUSED) = 0,
    /** The thread is activly being profiled.
     * A thread is added in the suspended state and then activated when
     * starting to execute the first function.
     */
    KPRF_TYPE(,THREADSTATE_ACTIVE),
    /** The thread is currently suspended from profiling.
     * Upon entering profiler code the thread is suspended, it's reactivated
     * upon normal return.
     */
    KPRF_TYPE(,THREADSTATE_SUSPENDED),
    /** The thread is currently suspended due of stack overflow.
     * When we overflow the stack frame array, the thread enter the overflow state. In this
     * state nothing is profiled but we keep looking for the exit of the top frame. */
    KPRF_TYPE(,THREADSTATE_OVERFLOWED),
    /** The thread is terminated.
     * When we received a thread termination notification the thread is unwinded, statistics
     * updated and the state changed to terminated. A terminated thread cannot be revivied. */
    KPRF_TYPE(,THREADSTATE_TERMINATED),

    /** Ensure 32-bit size. */
    KPRF_TYPE(,THREADSTATE_32BIT_HACK) = 0x7fffffff
} KPRF_TYPE(,THREADSTATE);


Generated by  Doxygen 1.6.0   Back to index