cvhufjbvbcxx9222 cvhufjbvbcxx9222
  • 22-10-2020
  • Computers and Technology
contestada

If we run 5 instances of ThreadA() and 1 instance of ThreadB(), what can be the maximum number of threads active simultaneously in the Critical Section

Respuesta :

sandlee09
sandlee09 sandlee09
  • 25-10-2020

Answer:

Only one

Explanation:

When dealing with a critical section, only one thread may be active in it a single moment. If more than one thread is trying to gain access then only one will be allowed while the other would be placed in a queue to access it next. This is mainly done in order to prevent two threads/processes from accessing/manipulating the same variable or data at the same time which can cause program breaking errors to occur.

Answer Link

Otras preguntas

a. What is the ratio of clubs to spades?​
How long after irs accepts tax return is it deposited.
GIVING BRAINLIEST! PLEASE HELP!
how does the phrase "rest the balm" affect the interview
[tex] \footnotesize \rm Find \: the \: lower \: limit \: of \: x \: in \: the \: triple \: integral \\ \footnotesize {{{ \displaystyle \rm { \iiint_D}}
Manny copied a table from an ms excel file, closed the file, and then pasted the table in an ms word document. Where was the table stored after he copied it?.
Pls help!! Solve and graph the inequalities
find value of x rounded to nearest tenth :)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
ancient Greece map answer key?
Boat operators MUST reduce speed when encountering which of the following? do and you will get 100p A, Personal watercraftPersonal watercraftB, People in the wa