Question: In the given Pthread code example ( Figure 5 . 1 0 ) , the program first gets the current contention scope and then sets
In the given Pthread code example Figure the program first gets the current contention scope and then sets it to:
Question Answer
a
The scope that will be used for the newly created threads.
b
PTHREAD SCOPE PROCESS, regardless of the initial scope.
c
PTHREAD SCOPE SYSTEM only if the initial scope was PTHREADSCOPEPROCESS.
d
PTHREAD SCOPE SYSTEM to enable scheduling of the newly created threads.
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
