Question: Five threads are created by a process with PID 10. Name three entities that are unique to threads (i.e. each thread has its own 'copy'

  1. Five threads are created by a process with PID 10. Name three entities that are unique to threads (i.e. each thread has its own 'copy' potentially different from the other ones of other threads.)
  2. Five threads are created by a process with PID 10. Each one of the threads have threadIDs (TID) 11, 12, 13, 14, and 15 respectively. What is the value Linux(Unix) of getpid() returned when thread with TID 11 is issuing the call?
  3. Process with PID 10 is creating five threads using thread_create(). How many threads of execution are there after the creation of those threads, assuming they have all been created successfully and all are still running ? process with PID 10 is creating five threads using thread_create(). How many threads of execution are there after the creation of those threads, assuming they have all been created successfully and all are still running ?

Step by Step Solution

3.44 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Three entities that are unique to threads Thread ID TID Each thread within a process is assigned a u... View full answer

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 Operating System Questions!