Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science, a thread of execution is the smallest unit of processing that
can be scheduled by an operating system. The implementation of threads
and processes differs from one operating system to another, but in most
cases, a thread is contained inside a process. Multiple threads can
exist within the same process and share resources such as memory, while
different processes do not share these resources. In particular, the
threads of a process share the latter's instructions and its context.