Changes between Version 53 and Version 54 of kernel_syscalls


Ignore:
Timestamp:
Dec 9, 2016, 7:21:22 PM (8 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_syscalls

    v53 v54  
    3131=== 2) int '''_sys_pthread_join'''( pthread_t trdid ) ===
    3232This blocking function returns only when the thread identified by the <trdid> argument exit.
     33 * '''trdid''' : expected thead identifier.
     34Returns 0 if success / returns negative value if expected thread not found.
    3335
    3436=== 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.
     37This function send a SIGKILL signal to the thread identified by the <trdid> argument.
     38If 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.
     41Returns 0 if success / returns negative value if target thread not found.
    3642
    3743=== 4) int '''_sys_pthread_exit'''( void* string ) ===
    3844This function deschedules and desactivates the calling thread.
     45 * '''string''' : message printed on the kernel TTY.
    3946
    4047=== 5) int '''_sys_pthread_yield'''( ) ===
     48This function deschedule the calling thread.
    4149
    4250=== 6) void '''_sys_kthread_create'''( unsigned int * trdid , unsigned int x , unsigned int y , unsigned int p , void * function , void * arg ) ===