#include <threads.h>
Data Fields | |
| struct thread_t * | next |
| struct thread_t * | prev |
| volatile thread_state_t | state |
| void * | stack |
| u32 | gprs [32] |
| u64 | fprs [32] |
| u32 | fpscr |
| u32 | lr |
| u32 | cr |
| u32 | xer |
| u32 | ctr |
| u32 | pc |
| u32 | msr |
| int | priority |
| volatile s64 | curr_timeslice |
| int | pid |
| int | exit_code |
Thread structure. No touchy.
1.6.3