Question: 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.
- When one thread opens a file, the file is visible to the other threads in the same process and they can read/write it.
- Like UNIX processes, UNIX threads are always hierarchical.
- Processes have no counterpart of pthread_yield.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
