# Tasks and Threads

# Overview

This chapter provides the background and necessary programming details to create and run tasks and threads. Tasks and threads, although similar, function differently in certain key respects. For details about the calls discussed, see Kernel Folio Calls, in 3DO System Programmer's Reference.

This chapter contains the following topics:

- What Is a Task?
- Starting and Ending Tasks
- Controlling the State of a Task
- Starting and Ending Threads
- Loading and Executing Separate Code Modules
- Example
- Function Calls