In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
88 bytes added ,  11:06, 5 June 2016
m
document thread_cancel
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

Navigation menu