Files
codezero/include/l4/generic/thread.h
Bahadir Balban cfa35e4a66 Added support for faulty pagers and their threads to become zombies
Added support for pagers that fault to suspend and become zombies
along with all the threads that they manage. Zombie killing is to
be done at a later time, from this special zombie queue.

The implementation works same as a suspension, with the added action
that the thread is moved to a queue in kernel container.
2009-10-19 18:48:55 +03:00

19 lines
388 B
C

/*
* Copyright (C) 2007 Bahadir Balban
*/
#ifndef __THREAD_H__
#define __THREAD_H__
#include <l4/generic/tcb.h>
/* Thread id creation and deleting */
void thread_id_pool_init(void);
int thread_id_new(void);
int thread_id_del(int tid);
void thread_destroy_current(void);
int thread_destroy(struct task_ids *ids);
void thread_make_zombie(struct ktcb *task);
#endif /* __THREAD_H__ */