<< Back to Codezero API Reference

3.) L4_THREAD_CONTROL System Call

int l4_thread_control(unsigned int action, struct task_ids *ids); 
Purpose
Operational Model
struct task_ids {
	int tid;
	int spid;
	int tgid;
};
Action Description
THREAD_CREATE Creates a new thread in a new or existing space depending on the spid argument
THREAD_DESTROY Destroys a thread, and its address space if it is the only thread left
THREAD_SUSPEND Suspends execution of a thread
THREAD_RESUME Resumes execution of a thread
L4 Userspace Library Functions

N/A

<< Back to Codezero API Reference