/*=========================*
 * Thread Status structure
 *=========================*/

typedef struct {
   int id;
   enum {Running, Ready, Sleeping, Suspended } state ;
   unsigned no_of_bursts;
   unsigned total_exec_time;
   unsigned total_sleep_time;
   unsigned avr_exec_time;
   unsigned avr_wait_time;
} status;

