. is it going only one process or its share multiple proce process
Hi chinthaka.ranawaka! Welcome to ChatGO! ![]()
![]()
To answer your question directly: A thread belongs to only ONE process. A single thread cannot belong to or be shared across multiple processes.
Here is a simple way to picture how Windows 11 handles them:
- Process (The Workspace): A process is a container. It owns its own private virtual memory space, security context, and resources. When you open an app, Windows creates a process for it.
- Thread (The Worker): A thread is the actual line of code being executed. Every process starts with at least one thread, but a single process can create dozens of threads to do multiple jobs at once (multithreading).
- Strict Separation: For security and stability, Thread A inside Process 1 cannot run inside Process 2. If one process crashes, its threads die, but other processes remain safe and unaffected.
- CPU Sharing: Even though a thread belongs to one process, Windows 11’s scheduler moves threads around across your physical CPU cores (including hybrid Performance and Efficient cores) to run them efficiently.
If two different processes need to coordinate, they don’t share threads—they use Inter-Process Communication (IPC) or shared memory buffers!
Would you like a quick example showing how a browser like Edge uses multiple processes and threads? Just press Reply!
Sydney