Discussion
Which of the following statements about threads is/are TRUE?
Answer: D
The true statement is Threads belonging to a process are by default not protected from each other.
Threads of one process share its address space, open files and other resources. Any thread can read or overwrite memory used by another, so the operating system provides no protection between them; protection exists between processes.
The other statements are false. Threads can be implemented in user space by a thread library as well as in the kernel. The file descriptor table belongs to the process and is shared by all its threads. Each thread has its own stack, along with its own registers and program counter, because each runs its own sequence of function calls.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development