Threads and tasks

A thread of control, or thread, consists of a program, or sequence of instructions to execute, some local data stored on a stack that's accessible only to the program, and a program counter that keeps track of the next instruction to execute. A thread also has a schedule that governs when it runs and how its execution can be interrupted.

A task consists of a virtual address space (a large range of virtual memory) and one or more threads that execute in that address space.

Every program that runs in the CommonPoint application system runs as one or more threads within one or more tasks.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker