![]() |
![]() |
System Threads, Application Threads, and the Idle Thread
There are several types of threads in a typical application. There is a distinction (using priority) between system threads, application threads, and the idle thread.
The PI manager, described in Section 6.6 "Input/Output," is typical of system threads. It acts as a resource manager, allowing multiple user threads to share a critical resource safely - in this case, the cartridge ROM.
The idle thread, which has the lowest priority (a priority of 0) of any thread in the system, runs only when all other threads are blocked awaiting some event. Note that the idle thread is required; the system will not run without it. The game application itself is composed of user threads. User threads are defined as those threads having priorities between 1 and 127.
Copyright © 1999
Nintendo of America Inc. All Rights Reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated January, 1999