Changes between Version 53 and Version 54 of kernel_syscalls
- Timestamp:
- Dec 9, 2016, 7:21:22 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_syscalls
v53 v54 31 31 === 2) int '''_sys_pthread_join'''( pthread_t trdid ) === 32 32 This blocking function returns only when the thread identified by the <trdid> argument exit. 33 * '''trdid''' : expected thead identifier. 34 Returns 0 if success / returns negative value if expected thread not found. 33 35 34 36 === 3) int '''_sys_pthread_kill'''( pthread_t trdid , int signal ) === 35 This function send a SIGKILL signal to the thread identified by the <trdid> argument. The target thread will be desactivated at the next scheduling point. 37 This function send a SIGKILL signal to the thread identified by the <trdid> argument. 38 If the <signal> argument is non-zero, the target thread is desactivated at the next scheduling point. 39 * '''trdid''' : target thead identifier. 40 * '''signal''' : target killed if non-zero. 41 Returns 0 if success / returns negative value if target thread not found. 36 42 37 43 === 4) int '''_sys_pthread_exit'''( void* string ) === 38 44 This function deschedules and desactivates the calling thread. 45 * '''string''' : message printed on the kernel TTY. 39 46 40 47 === 5) int '''_sys_pthread_yield'''( ) === 48 This function deschedule the calling thread. 41 49 42 50 === 6) void '''_sys_kthread_create'''( unsigned int * trdid , unsigned int x , unsigned int y , unsigned int p , void * function , void * arg ) ===