User`s guide
4-1
Chapter 4
Thread Scheduling
This chapter describes the types of threads a DSP/BIOS program can use,
their behavior, and their priorities during program execution.
4.1 Overview of Thread Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.2 Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
4.3 Software Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-26
4.4 Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-40
4.5 The Idle Loop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53
4.6 Semaphores. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-55
4.7 Mailboxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61
4.8 Timers, Interrupts, and the System Clock . . . . . . . . . . . . . . . . . . . . 4-67
4.9 Periodic Function Manager (PRD) and the System Clock. . . . . . . . 4-74
4.10 Using the Execution Graph to View Program Execution. . . . . . . . . 4-78
Topic Page










