http://www.aros.orgAROS-ExecAROS-Exec ArchivesPower2People

Home

English

Česky

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska


News

Archive

Introduction

Status
Screenshots
Ports
License

Download


Documentation

Users
Installation
Using
Shell
Applications
FAQ
Developers
Contribute
Roadmap
Bug Tracker
Working with Subversion
Compiling
Application Development Manual
Zune Application Development Manual
System Development Manual
Debugging Manual
Reference
Specifications
UI Style Guide
Documenting
Porting
Translating
Summaries
Links

Contact

Mailing lists
IRC channels

Credits

Acknowledgements


Pictures

Developers
Developers en Masse

Sponsors

Linking

Links

Get AROS Research Operating System at SourceForge.net. Fast, secure and Free Open Source software downloads

ChangeTaskPri

Index Prev Next


Name

ChangeTaskPri

Format

ChangeTaskPri <priority> [ PROCESS <process number> ]

Synopsis

PRI=PRIORITY/A/N,PROCESS/K/N

Function

The ChangeTaskPri command is used to change the current run
priority of a Task. As AROS is a multitasking operating
system, you can determine which tasks receive more CPU time
by changing their priorities.

The value of |priority| can be from -128 to 127, however values
greater than 4 are not recommended as they can interfere with
vital system processes. Higher values will give tasks a higher
CPU priority.

You can use the Status command to examine the list of Tasks that
are running and their process numbers.

Example

1.SYS:> ChangeTaskPri 1 Process 1

    Set the priority of the current process to 1.

1.SYS:> ChangeTaskPri 1

    Also sets the priority of the current process to 1.

Copyright © 1995-2009, The AROS Development Team. All rights reserved.
Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners.