Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Are task priorities easily modifiable?

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Are task priorities easily modifiable?

  cubeprefsicon graphic [Bar]


Developing for BeOS
BeOS Internals

 

Are task priorities easily modifiable by users and programmers?

Top Up || >>
Developing for BeOS:
BeOS Internals
FAQ Number:
FAQ-0078
Last Modified:
2/9/98
Keywords:
BeOS, Developing, Internals, program, task, priority, performance, thread
For developers, yes, this is a simple process. You simply increase the priority of the thread in which a task is running.

For the end user to increase or decrease a task's priority, the developer of the program would need to provide a slider bar (or other interface element) to access the program's thread priority setting, and then write code around that to increase or decrease the priority accordingly.

Note that setting the priority of a thread is not a "speed throttle;" setting a thread's priority very high will not make it execute faster, unless there is contention for the CPU, i.e., other things going on, too. And in that case, a high priority for a task will make other things (such as window moves, menu responses, screen redraw for other applications, etc.) happen more slowly, which may not be desirable.

For more information on threading, there's a Be Newsletter article at:

http://www.be.com/aboutbe/benewsletter/Issue37.html#Insight


||    How does BeOS threading work?  >>


Copyright ©1998 Be, Inc. Be is a registered trademark, and BeOS, BeBox, BeWare, GeekPort, the Be logo and the BeOS logo are trademarks of Be, Inc. All other trademarks mentioned are the property of their respective owners.
Icons used herein are the property of Be Inc. All rights reserved.
Comments about this site? Please write us at webmaster@be.com.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026