Line 104:
Line 104:
| 1 || int thread_join(int threadid, u32 *returned_value) || Waits for a thread to finish executing || 0 on success
| 1 || int thread_join(int threadid, u32 *returned_value) || Waits for a thread to finish executing || 0 on success
|-
|-
−
| 2 || thread_cancel(int threadid, u32 ? )
+
| 2 || int thread_cancel(int threadid, u32 return_value ) || Ends a thread, called automatically when proc returns || 0 on success
|-
|-
| 3 || int get_tid(void) || Get the current thread's ID || Current threadid
| 3 || int get_tid(void) || Get the current thread's ID || Current threadid