Answered step by step
Verified Expert Solution
Question
1 Approved Answer
True or False Its hard to make processes share data because they operate in difference address spaces; it is trivial to make threads in a
True or False
- Its hard to make processes share data because they operate in difference address spaces; it is trivial to make threads in a process to share data because they operate in the same address space, which explains why the Word Processor example application we studied advocates the use of threads.
- Different threads in a process are as independent as different processes.
- Operating system needs to, and can, protect threads from each other.
- When one thread opens a file, the file is visible to the other threads in the same process and they can read/write it.
- A thread can block waiting for some external event to happen or for some other thread to unblock it.
- Like UNIX processes, UNIX threads are always hierarchical.
- Processes have no counterpart of pthread_yield.
- Implementing threads in user space means threads are implemented by a library and are transparent to the operating system.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started