Thread States

Defines

#define THR_ST_NONE   0
#define THR_ST_ACTIVE   1
#define THR_ST_DELAYED   2
#define THR_ST_WAITING   3

Detailed Description

The following defines specify the various states that a thread can be in.


Define Documentation

#define THR_ST_ACTIVE   1

Specifies that this thread is currently in the active queue

Referenced by sim_add_thread(), sim_kill_thread(), sim_simulate(), sim_thread_insert_into_delay_queue(), and sim_thread_push().

#define THR_ST_DELAYED   2

Specifies that this thread is currently in the delayed queue

Referenced by sim_thread_insert_into_delay_queue().

#define THR_ST_NONE   0

Specifies that this thread is current inactive and can be reused

Referenced by sim_thread_pop_head().

#define THR_ST_WAITING   3

Specifies that this thread is currently in the waiting queue

Referenced by funit_push_threads(), sim_kill_thread(), and sim_thread_pop_head().

Generated on Sun Nov 21 00:55:42 2010 for Covered by  doxygen 1.6.3