AmigaOS 4.0 - About OS4 - Commands
|
||||||||
|
||||||||
|
Since AmigaOS 4.0 is a multitasking operating system, it uses priority numbers to determine the order in which current tasks
should be serviced. Normally, most tasks have a priority of 0, and the time and instruction cycles of the CPU are divided
equally among them. Any tasks started from a Shell process inherit the priority of that process.
CHANGETASKPRI changes the priority of the <process> or <name> specified. If no <process> or <name> is specified, the current Shell process is assumed. Use the STATUS command to display the current process numbers and names. The range of acceptable values for <priority> is the integers -128 to 127, with higher values yielding a higher priority (a greater proportion of CPU time is allocated). However, do not enter values above +10, or you may disrupt important system tasks. Too low a priority (less than 0) can result in a process taking unreasonably long to execute. Example 1: Process 3: Loaded as command: status Process 5: Loaded as command: execute Process 6: Loaded as command: wait Process 7: Loaded as command: find 3.OS4:> CHANGETASKPRI 4 PROCESS 5 Example 2: See Also: STATUS
Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it. |