73 #define DEFAULT_STACK_SIZE 0x10000 74 #define DEFAULT_TLB_SIZE 0x1000
struct thread * threadCreate(struct process *p, struct thread *original, void *eip)
Creates a new kernel thread object.
void threadRelease(struct thread *t)
struct linkedList threadList
void threadSchedule()
Schedules threads until all process have been terminated.
void * user_ring3StackBase
struct thread * lastFPUthread
void * user_threadLocalBase
uint32_t user_threadLocalLength
struct linkedList waiters
struct linkedList entry_process
struct thread * threadRun(struct thread *t)
uint32_t threadWait(struct thread *t, struct object *obj, uint32_t mode)
Makes a kernel thread object wait for some waitable object.
uint32_t user_ring3StackLength