Threads and Processes
From a computing perspective, the worker in our card sorting example is like a thread. A thread is a sequence of CPU instructions that the operating system treats as a single unit for scheduling and execution purposes. Each thread must be associated with a process that manages the resource allocation necessary for the thread's execution.


In the card sorting example, the card sorting table and its associated worker(s) are analogous to a process. In computing, a process is a coherent unit of resource allocation, including memory, file handlers, ports, and devices. A single process may manage the resources for several threads. Because of the one-to-one or one-to-many relationship between processes and threads, threads can be modeled as components of a process.

