IBNOS
Functions | Variables
thread.c File Reference
#include <process/thread.h>
#include <process/process.h>
#include <process/object.h>
#include <hardware/gdt.h>
#include <interrupt/interrupt.h>
#include <memory/physmem.h>
#include <memory/paging.h>
#include <memory/allocator.h>
#include <util/list.h>
#include <util/util.h>
Include dependency graph for thread.c:

Go to the source code of this file.

Functions

struct threadthreadCreate (struct process *p, struct thread *original, void *eip)
 Creates a new kernel thread object. More...
 
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 = LL_INIT(threadList)
 
struct threadlastFPUthread