Changes between Version 120 and Version 121 of library_stdio
- Timestamp:
- Sep 25, 2015, 12:58:03 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v120 v121 80 80 * '''string''' : message displayed on TTY0. 81 81 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 <t rdid> 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 ) === 83 This 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. 84 84 * '''vspace''' : vspace name. 85 * '''t rdid''' : thread identifier in vspace.85 * '''thread''' : thread name in mapping. 86 86 Return 0 if success. 87 87 Return -1 if vspace name not found. 88 Return -2 if t rdid illegal ornot 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 <t rdid> 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.88 Return -2 if thread name not found. 89 90 === 8) int '''get_pthread_resume'''( char* vspace , char* thread ) === 91 This 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. 92 92 * '''vspace''' : vspace name. 93 * '''t rdid''' : thread identifier in vspace.93 * '''thread''' : thread name in mapping. 94 94 Return 0 if success. 95 95 Return -1 if vspace name not found. 96 Return -2 if t rdid illegal ornot found.96 Return -2 if thread name not found. 97 97 98 98