A thread is a light-weight process. The implementation of threads and processes differs from one operating system to another, but in most cases, a thread is contained inside a process
- unlike processes all threads of one process share the same memory
- the concurrent nature of threads
- Single Tasking: C++’s library and the execution of that program is essentially suspended, shown in dashed line in the diagram
- Multi Tasking: Part B does not have to wait until cout completes.