1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Gre4nikov [31]
3 years ago
12

Why are condition variables considered more ""efficient"" than monitors? Is it possible that they might be less efficient than m

onitors?
Computers and Technology
1 answer:
jeka57 [31]3 years ago
8 0

Answer and Explanation:

  • Condition variables are a methods for obstructing a string until some condition has been fulfilled.  
  • When viewed in isolation, a condition variable enables strings to square and to be woken by different strings.  
  • In any case, condition factors are intended to be utilized with a particular goal in mind; a condition variable interfaces with a mutex to make it simple to sit tight for a self-assertive condition on state ensured by the mutex.  
  • Chrome's C++ condition factors have type Condition Variable. Therefore, these variables are more productive than monitors.  

There is a possibility that conditional variables are less effective than screens or monitors.  

  • In the concurrent programming, a screen is a synchronization built-up that enables strings to have both shared rejection and the capacity to pause (obstruct) for a specific condition to turn out to be valid.  
  • Screens additionally have an instrument for flagging different strings that their condition has been met. A screen (monitor) comprises of a mutex (lock) article and condition factors.  
  • A condition variable is fundamentally a holder of strings that are looking out for a specific condition.  
  • Screens give a system to strings to incidentally surrender select access so as to hang tight for some condition to be met, before recapturing restrictive access and continuing their errand.
You might be interested in
Select all the correct answers.
krok68 [10]

Answer:

Higher resolutions in games

Smoother, faster playback

Explanation:

A graphics card is a piece of hardware installed on a computer that that is responsible for rendering the image on the computer's monitor or display screen. Graphics cards come in many varieties with varying features. The CPU will send any graphics related tasks directly to the GPU while it continues to process other tasks. Because graphics cards use a lot of power they need a cooling fan. The cooling fans are noisy so they make the computer sound louder than they were before the graphics card was installed.

7 0
2 years ago
Read 2 more answers
How do Brainly experts and verified users format their answers to look like this:
koban [17]

{ \dashrightarrow{ \green{ \tt{use \: the \: latex}}}} \\  \\  { \blue{ \sf{ \: refer \: to \: the \: pdf \: available}}} \\ { \blue{ \sf{at \: https : \  \:  \ \: latex \: on \: brainly}}}

3 0
3 years ago
Read 2 more answers
What are threats to computer system
4vir4ik [10]
Breach..
bugs and viruses
hack
3 0
4 years ago
Read 2 more answers
What would the range(3, 9) function generate?
gregori [183]

Answer:

A, 3,6,9

is the answer

Explanation:

bc it count by

3 0
3 years ago
Three types of common program errors are syntax, runtime, and logic. (5 points)
adoni [48]

Answer:

True

Explanation:

3 0
3 years ago
Read 2 more answers
Other questions:
  • When does the VB.NET programming environment start to operate?
    10·1 answer
  • Which statement reflects inherent bias in reading and learning about our world?
    12·1 answer
  • When someone refers to "space" on a computer or device, they are usually referring to _____, which allows the user to save a fil
    10·1 answer
  • ____ are programs that need to be attached to other files to install themselves on computers without the users’ knowledge or per
    5·1 answer
  • Which descriptions offer examples of Correction Services workers? Select all that apply.
    8·1 answer
  • which scheduling algorithm allocate the CPU firt to the process that request the CPU first, (a) first come first serve,(b) short
    9·1 answer
  • Write a function check_palindrome that takes a string as an input and within that function determines whether the input string i
    12·1 answer
  • FREEEEE 100 POINTS COME TAKE COME COME COME<br><br> only if u like da black panther
    8·2 answers
  • Explain the correct ways of using keyboard. .​
    14·1 answer
  • The process of arranging the item of a column in some sequence or order is known as?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!