mirror of
https://github.com/drasko/codezero.git
synced 2026-01-21 07:13:15 +01:00
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.
This commit is contained in:
@@ -11,7 +11,8 @@ void thread_id_pool_init(void);
|
||||
int thread_id_new(void);
|
||||
int thread_id_del(int tid);
|
||||
|
||||
void thread_destroy_self(void);
|
||||
void thread_destroy_current(void);
|
||||
int thread_destroy(struct task_ids *ids);
|
||||
void thread_make_zombie(struct ktcb *task);
|
||||
|
||||
#endif /* __THREAD_H__ */
|
||||
|
||||
Reference in New Issue
Block a user