This section describes the CrossWorks Tasking Library which will be subsequently referred to as CTL. CTL provides a multi-priority, preemptive, task switching and synchronisation facility. Additionally CTL provides timer, interrupt service routine and memory block allocation support.
In this section
- Overview
- Describes the principles behind the CTL.
- Tasks
- Describes how to create CTL tasks, turn the main program into a task and manage tasks.
- Event sets
- Describes what a CTL event set is and how it can be used.
- Semaphores
- Describes what a CTL semphore is and how it can be used.
- Mutexes
- Describes what a CTL mutex is and how it can be used.
- Message queues
- Describes what a CTL message queue is and how it can be used.
- Byte queues
- Describes what a CTL byte queue is and how it can be used.
- Global interrupts control
- Describes how you can use CTL functions to enable and disable global interrupts.
- Timer support
- Describes the timer facilities that CTL provides.
- Interrupt service routine support
- Describes how to write interrupt service routines that co-exist with CTL.
- Memory block allocation support
- Describes how you can use CTL to allocate fixed sized memory blocks.
- Task Scheduling
- An example of task scheduling.
- ARM Implementation
- Implementation details for the ARM architecture.
- Cortex-M3 Implementation
- Implementation details for the Cortex-M3 architecture.
- Revisions
- CTL revisions.
Related sections
- <ctl.h> - CTL functions
- The reference for each of the functions and variables defined by the CTL.
- Threads window
- A scriptable debugger window that displays the threads of a running program together with their state.