next up previous contents
Next: Thread Library Functions Up: Threads: Implementation Previous: Threads: Implementation   Contents

Thread Control Block

The following is the declaration of the Thread Control Block.
struct tcb {
  u32_t status;
  struct reg_context thread_context;
  void *stack;
  struct thread_info thread_params;
  u32_t executedTime;
  struct tcb *recoveryTask;
  u32_t sched_field;
  u32_t magic_key;
};


next up previous contents
Next: Thread Library Functions Up: Threads: Implementation Previous: Threads: Implementation   Contents
Soumyadeb Mitra 2002-08-07