Changeset 16964 in vbox
- Timestamp:
- Feb 20, 2009 8:28:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/process.h
r14999 r16964 50 50 * In addition to using the policy assigned to the process at startup (DEFAULT) 51 51 * it is possible to change the process priority at runtime. This allows for 52 * a GUI, resource manager or admin to adjust the general prior ty of a task52 * a GUI, resource manager or admin to adjust the general priority of a task 53 53 * without upsetting the fine-tuned priority of the threads within. 54 54 */ … … 58 58 RTPROCPRIORITY_INVALID = 0, 59 59 /** Default priority. 60 * Derive the schedul ding policy from the priority of the RTR3Init()60 * Derive the scheduling policy from the priority of the RTR3Init() 61 61 * and RTProcSetPriority() callers and the rights the process have 62 62 * to alter its own priority. … … 74 74 RTPROCPRIORITY_LOW, 75 75 /** Normal priority. 76 * Assume a scheduling policy which shares the cpuresources fairly with76 * Assume a scheduling policy which shares the CPU resources fairly with 77 77 * other processes running with the default priority of the host OS. 78 78 */ … … 178 178 /** Block indefinitly waiting for the process to exit. */ 179 179 #define RTPROCWAIT_FLAGS_BLOCK 0 180 /** Don't block, just check if the process have exit ted. */180 /** Don't block, just check if the process have exited. */ 181 181 #define RTPROCWAIT_FLAGS_NOBLOCK 1 182 182 /** @} */ … … 187 187 * @returns VINF_SUCCESS when the status code for the process was collected and put in *pProcStatus. 188 188 * @returns VERR_PROCESS_NOT_FOUND if the specified process wasn't found. 189 * @returns VERR_PROCESS_RUNNING when the RTPROCWAIT_FLAG_NOBLOCK and the process haven't exit ted yet.189 * @returns VERR_PROCESS_RUNNING when the RTPROCWAIT_FLAG_NOBLOCK and the process haven't exited yet. 190 190 * 191 191 * @param Process The process to wait for. … … 200 200 * @returns VINF_SUCCESS when the status code for the process was collected and put in *pProcStatus. 201 201 * @returns VERR_PROCESS_NOT_FOUND if the specified process wasn't found. 202 * @returns VERR_PROCESS_RUNNING when the RTPROCWAIT_FLAG_NOBLOCK and the process haven't exit ted yet.202 * @returns VERR_PROCESS_RUNNING when the RTPROCWAIT_FLAG_NOBLOCK and the process haven't exited yet. 203 203 * @returns VERR_INTERRUPTED when the wait was interrupted by the arrival of a signal or other async event. 204 204 *
Note:
See TracChangeset
for help on using the changeset viewer.