<< Back to Codezero API Reference
int l4_thread_control(unsigned int action, struct task_ids *ids);
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 |
N/A