Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ The Be FAQs

Media Vault

Software Library

Restoration Projects

Artifacts Sought

The Be FAQs

  cubeprefsicon graphic [Bar]


The Be FAQs
Developing for BeOS

 

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 ©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