Changes between Version 120 and Version 121 of library_stdio


Ignore:
Timestamp:
Sep 25, 2015, 12:58:03 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v120 v121  
    8080 * '''string''' : message displayed on TTY0.
    8181
    82  === 7) int '''giet_pthread_pause'''( char* vspace , pthread_t trdid ) ===
    83 This function is an extension to the POSIX standard. It deactivates the thread identified by the <vspace> and <trdid> arguments. The target thread goes to the ''blocked'' state at the next context switch, and will not be scheduled until the thread is reactivated by the giet_pthread_resume() function. The thread context (including the resources dynamically allocated to the thread) is not modified.
     82 === 7) int '''giet_pthread_pause'''( char* vspace , char* thread ) ===
     83This function is an extension to the POSIX standard. It deactivates the thread identified by the <vspace> and <thread> arguments. The target thread goes to the ''blocked'' state at the next context switch, and will not be scheduled until the thread is reactivated by the giet_pthread_resume() function. The thread context (including the resources dynamically allocated to the thread) is not modified.
    8484 * '''vspace''' : vspace name.
    85  * '''trdid''' : thread identifier in vspace.
     85 * '''thread''' : thread name in mapping.
    8686Return 0 if success.
    8787Return -1 if vspace name not found.
    88 Return -2 if trdid illegal or not found.
    89 
    90  === 8) int '''get_pthread_resume'''( char* vspace , pthread_t trdid ) ===
    91 This function is an extension to the POSIX standard. It  reactivates a thread identified by the <vspace> and <trdid> arguments, that was descheduled by the giet_pthread_pause() function. The target thread goes to the ''runable'' state, and can be rescheduled at the next context switch to resume execution.
     88Return -2 if thread name not found.
     89
     90 === 8) int '''get_pthread_resume'''( char* vspace , char* thread ) ===
     91This function is an extension to the POSIX standard. It  reactivates a thread identified by the <vspace> and <thread> arguments, that was descheduled by the giet_pthread_pause() function. The target thread goes to the ''runable'' state, and can be rescheduled at the next context switch to resume execution.
    9292 * '''vspace''' : vspace name.
    93  * '''trdid''' : thread identifier in vspace.
     93 * '''thread''' : thread name in mapping.
    9494Return 0 if success.
    9595Return -1 if vspace name not found.
    96 Return -2 if trdid illegal or not found.
     96Return -2 if thread name not found.
    9797
    9898