e-Picture

Be Developers:
Put your banner here!

 cubeprefsicon graphic [Bar]


Developing for BeOS
BeOS Internals

 

How intelligent is the threading mechanism for multiple processors? Is it handled by the system or by the compiler (thus allowing optimization of processor use for code-specific needs)?

Top Up << >>
Developing for BeOS:
BeOS Internals
FAQ Number:
FAQ-0077
Last Modified:
2/3/98
Keywords:
BeOS, Developing, Internals, program, task, priority, performance, thread, processor
Threading is not implemented by the compiler. The system, in the Kits, spawns multiple threads on behalf of the applications where it is useful. The application developer can also manually create multiple threads of execution, and can set the priority of each of the application's threads. Any thread that is ready to run will be scheduled on any available processor. Even single processor systems benefit from the aggressive threading in the BeOS.

<< Are task priorities easily modifiable?  Can I set the ratio of CPU usage for tasks?  >>


Copyright © 1999 by Be, Inc. All rights reserved. Legal information (includes icon usage info).
Comments, questions, or confessions about our site? Please write the Webmaster.