IBNOS
|
#include <stdint.h>
#include <stdbool.h>
#include <process/object.h>
#include <process/process.h>
#include <hardware/context.h>
#include <util/list.h>
Go to the source code of this file.
Classes | |
struct | thread |
Macros | |
#define | DEFAULT_STACK_SIZE 0x10000 |
#define | DEFAULT_TLB_SIZE 0x1000 |
Functions | |
struct thread * | threadCreate (struct process *p, struct thread *original, void *eip) |
Creates a new kernel thread object. More... | |
struct thread * | threadRun (struct thread *t) |
void | threadRelease (struct thread *t) |
void | threadSchedule () |
Schedules threads until all process have been terminated. More... | |
uint32_t | threadWait (struct thread *t, struct object *obj, uint32_t mode) |
Makes a kernel thread object wait for some waitable object. More... | |
Variables | |
struct linkedList | threadList |
struct thread * | lastFPUthread |
void threadRelease | ( | struct thread * | t | ) |