Post compilation if we run our program(binary):
while using ps command in terminal. (PID 3682 is our new process).
Thread is a lightweight process. A single process can contain multiple threads.
(In Linux kernel everything is a thread each thread has its own visualized processor and address space.)It can be independently scheduled by the kernel.
while using ps command in terminal. (PID 3682 is our new process).
Thread is a lightweight process. A single process can contain multiple threads.
(In Linux kernel everything is a thread each thread has its own visualized processor and address space.)It can be independently scheduled by the kernel.