Changes between Version 107 and Version 108 of library_stdio


Ignore:
Timestamp:
Sep 15, 2015, 12:38:15 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v107 v108  
    4949 === 2) void '''giet_pthread_exit'''( void* string ) ===
    5050This function desactivates the calling thread.
    51 The 'string' argument is a (user defined) log message displayed on the kernel TTY.
    52 No error possible.
     51The 'string' argument is a (user defined) log message displayed on the kernel TTY0.
    5352
    5453 === 3) int '''giet_pthread_join'''( pthread_t  trdid , void** ptr ) ===
     
    6362
    6463 === 4) int '''giet_pthread_kill'''( pthread_id trdid , int signal ) ===
    65 This function deactivates the thread identified by the ''trdid'' argument when the ''signal'' argument is non zero.
    66 If the ''signal'' argument is zero, the thread existence is checked, but it is not deactivated.
     64This function send a KILL signal to the thread identified by the ''trdid'' argument when the ''signal'' argument is non zero,
     65and the thread will be deactivated at the next context switch.
     66If the ''signal'' argument is zero, the thread existence is checked, but the KILL signal it is not sent.
    6767 * trdid : unique thread identifier in vspace.
    6868 * signal : deactivation if non zero.
     
    7272 === 5) void '''giet_pthreadt_yield'''() ===
    7373The thread calling this function is descheduled and the processor is allocated to another thread.
    74 No error possible.
    7574
    7675 === 6) void '''giet_pthread_assert'''( unsigned int condition, char* string ) ===
     
    7877 * condition : thread exit if condition value is 0.
    7978 * string : message displayed on TTY0.
    80 No error possible.
    81 
    8279
    8380
     
    8683 === 1) void '''giet_kill_application'''( char* name ) ===
    8784This function kill the application identified by the vspace '''name''' argument:
    88 All tasks are de-activated, the private peripherals or coprocessors are released, but the physical memory
    89 allocated to the killed application is not released.
     85All application threads defined in the mapping receive a KILL signal and will be deactivated at the next context switch. The private peripherals or coprocessors are released. The physical memory allocated to the killed application segments is not released.
    9086
    9187 === 2) void '''giet_exec_application'''( char* name ) ===
    92 This function starts execution for the the application identified by the vspace '''name''' argument:
    93 The application code and data segment are loaded into memory from the .elf file.
    94 All tasks contexts are initialized, and the tasks are activated.
     88This function starts execution for the the application identified by the vspace '''name''' argument.
     89The application  data segments are (re)loaded into memory from the .elf file.
     90Only thread that has the ''is_main'' flag set  in the mapping is activated.
    9591
    9692