Skip to content

Why a thread is cheaper than a process

Creating a thread is much cheaper than creating a process, and switching between threads of one process is cheaper than switching between processes.

What is the main reason?