How do threads work?
Answer / Sandip Kumar Maurya
Threads in Linux are lightweight processes managed by the kernel. Each thread shares the same memory space and system resources as its parent process, but each has a separate program counter (PC) register and stack. The kernel schedules the execution of multiple threads, allowing them to run concurrently on the same CPU or across multiple CPUs. Threads are created using various system calls like pthread_create().
| Is This Answer Correct ? | 0 Yes | 0 No |
An extended partition can contain many sub partitions called_______
At installation,Red Hat Fedora Linux creates a symbolic link called _____ to the appropriate cd-rom device
Are threads as good as cores?
What does threads mean when downloading?
What are the benefits of multithreading?
how will you distinguish if it is a process or a thread, provided you know pid in linux operating system?
1 Answers SwanSoft Technologies,
Is thread an abstract class?
Do threads have pids?
What is kernel level thread?
Is creating a thread expensive?
What does thread mean in slang?
How do you create a thread?