ARM9 OS: Difference between revisions

Hallowizer (talk | contribs)
added a stub section on memory allocation
Hallowizer (talk | contribs)
Threads: info on how the scheduler works
Line 2: Line 2:


== Threads ==
== Threads ==
The scheduler only runs the thread with the highest priority, and does not switch between threads if two threads have the same priority. Because of this, rescheduling only happens when a thread-related function is called and the thread with the highest priority can no longer run.
<pre>
<pre>
struct OSFpContext {
struct OSFpContext {