Defines | |
#define | THR_ST_NONE 0 |
#define | THR_ST_ACTIVE 1 |
#define | THR_ST_DELAYED 2 |
#define | THR_ST_WAITING 3 |
The following defines specify the various states that a thread can be in.
#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().