#include <schedule.h>
Collaboration diagram for process:
Public Attributes | |
reglist | regs |
This is the current state of the registers that is not kept on the stack. More... | |
void * | stack |
This is the initial stack pointer, it is used to free() the stack after the process exits. More... | |
char | state |
This keeps the STATE_xxx-value. More... | |
char | irq |
irq level for the thread. currently not used. More... | |
int | signal |
incomming signal flags. More... | |
int | mask |
masked signals. Only signals with ther mask bit set can be received. More... | |
int | ppid |
parent thread id, just for reference, SIGCHILD is not implemented. More... | |
_reent | reent |
reentrance structure of newlibc for this thread. More... | |
int | message |
incomming message field. 0 means no message pending. More... | |
sem_t * | sem |
pointer to the semaphore the thread is currently waiting for. More... | |
unsigned int | time_delta |
int | prio |
thread priority field. More... | |
entry | me |
This field is used for all list-like things like the delta list and semaphores. More... | |
int | pid |
to find the process id from a pointer to the process table entry. More... | |
int | next |
The process table entry contains all information the scheduler needs to schedule and all information, the context switch needs to switch. And some more...
Definition at line 43 of file schedule.h.
|
irq level for the thread. currently not used.
Definition at line 47 of file schedule.h. Referenced by KERN_create_prio. |
|
masked signals. Only signals with ther mask bit set can be received.
Definition at line 49 of file schedule.h. |
|
This field is used for all list-like things like the delta list and semaphores.
Definition at line 57 of file schedule.h. Referenced by KERN_psleep, KERN_schedinit, and KERN_suspend. |
|
incomming message field. 0 means no message pending.
Definition at line 52 of file schedule.h. |
|
Definition at line 59 of file schedule.h. Referenced by KERN_create_prio, and KERN_psleep. |
|
to find the process id from a pointer to the process table entry.
Definition at line 58 of file schedule.h. Referenced by KERN_schedinit. |
|
parent thread id, just for reference, SIGCHILD is not implemented.
Definition at line 50 of file schedule.h. Referenced by KERN_create_prio, and KERN_schedinit. |
|
thread priority field.
Definition at line 56 of file schedule.h. Referenced by KERN_create_prio, and KERN_schedinit. |
|
reentrance structure of newlibc for this thread.
Definition at line 51 of file schedule.h. Referenced by KERN_schedinit, and KERN_schedule. |
|
This is the current state of the registers that is not kept on the stack.
Definition at line 44 of file schedule.h. Referenced by KERN_create_prio, and KERN_schedinit. |
|
pointer to the semaphore the thread is currently waiting for.
Definition at line 53 of file schedule.h. |
|
incomming signal flags.
Definition at line 48 of file schedule.h. Referenced by _KERN_taskend, KERN_create_prio, KERN_schedinit, and KERN_schedule. |
|
This is the initial stack pointer, it is used to free() the stack after the process exits.
Definition at line 45 of file schedule.h. Referenced by KERN_create_prio, and KERN_schedinit. |
|
This keeps the STATE_xxx-value.
Definition at line 46 of file schedule.h. Referenced by KERN_create_prio, KERN_schedinit, KERN_schedule, KERN_suspend, and KERN_wakeup. |
|
delta time before this thread has to be woken up. This is a delta and only makes sense in context of the delta queue Definition at line 54 of file schedule.h. Referenced by KERN_create_prio, and KERN_psleep. |