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
Luda [366]
3 years ago
14

What is the best kernel synchronization solution on multicore systems when a lock is held for brief periods ?

Computers and Technology
1 answer:
Delvig [45]3 years ago
8 0

Answer: C) spin-lock with test and set

Explanation:

In spinlock, when a thread locks a spinlock then it continuously retrying locking until it succeeds. Spinlock is the lock that cause thread and continuously check that whether the lock are available or not for synchronization.

So that is why spinlock is best synchronization solution as it is not allowing any another thread.

On the other hand, in mutex thread try to lock a mutex and then, it automatically go to sleep mode before locking and immediate allow another thread to run.

You might be interested in
Dealing with stress and strong emotions centeral idea​
STatiana [176]
The best way to deal with psychological stress is to learn to control your reactions to stressful situations. With practice, you can teach yourself how to remain calm and avoid making bad situations worse. Slow, deep breathing is one way to keep stress from overwhelming you.
Make me the brainlist
5 0
3 years ago
Read 2 more answers
4-One possible performance multiplication enhancement is to do a shift and add instead of an actual multiplication. Since 9 * 6,
pychu [463]

Answer:

Check the explanation

Explanation:

The above question can be sovled in the below step by step way:

15 can be written as 16-1 = 24 -1

Therefore, 15 *13 = (24 -1)*13

= 13*24 - 13

Now, when we left shift a number we multiply it by 2k .Where k is no of times we left shifted it.

Therefore, 13*24 = shift 13 to left 4 times

15 * 13 = shift 13 to left 4 times and subtract 13 from it.

3 0
3 years ago
Assume that we would like to expand the MIPS register file to 128 and keep the size of all other fields as in the original MPIS
garri49 [273]

Answer:

These changes has the ability to decrease the size of a program, it

can do so by going ahead to reduce the instances in which the register contents “spill” into other registers or memory, it also does so by allowing more complex operations to be implemented in one instruction as agianst requiring multiple instructions.

On the other hand they are likely able to increase the size of a program by requiring adding bits to the opcode and register fields, thereby increasing memory width

Explanation:

See answer

7 0
3 years ago
Read 2 more answers
A telephone-repair technician uses a meter to measure voltage on a phone line. This meter is an example of _____. hardware softw
andrew-mc [135]
A meter to measure voltage would be an example of hardware.
5 0
3 years ago
Read 2 more answers
Please answer these questions! Will mark Brainliest!!
Sergio039 [100]

Answer:

1) bob behnken and doug hurley

2)yes

3) august

7 0
3 years ago
Other questions:
  • Which item is essential to know before sketching a navigation menu flowchart
    15·2 answers
  • The disk drive is a secondary storage device that stores data by _____ encoding it onto a spinning circular disk.
    14·1 answer
  • What is a collection?
    5·1 answer
  • An organization that operates a small web-based photo backup business is evaluating single points of failure. The organization h
    7·1 answer
  • the UDP server described needed only one socket, whereas the TCP server needed two sockets. Why? If the TCP server were to suppo
    8·2 answers
  • What is an example of the most important role of a systems analyst in any corporation?
    10·1 answer
  • Where could an identity theft access your personal information?
    9·2 answers
  • This is an attack that depends on the fact that duplicate values, also called collisions, appear much faster than you would expe
    11·1 answer
  • If you created a variable called name, what data type would that value be?
    7·2 answers
  • You are building a game that needs to do the following:
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!