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

  1. 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.
  2. Different threads in a process are as independent as different processes.
  3. Operating system needs to, and can, protect threads from each other.
  4. When one thread opens a file, the file is visible to the other threads in the same process and they can read/write it.
  5. A thread can block waiting for some external event to happen or for some other thread to unblock it.
  6. Like UNIX processes, UNIX threads are always hierarchical.
  7. Processes have no counterpart of pthread_yield.
  8. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!