How does BeOS threading work?
|
|
|
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)?
|
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.
|
|
|
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.
|