answer.
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
bearhunter [10]
2 years ago
13

Explain why Windows and Linux implements multiple locking mechanisms. Describe the circumstances under which they use spinlocks,

mutex locks, semaphores, and condition variables. In each case, explain why the mechanism is needed.
Computers and Technology
1 answer:
galben [10]2 years ago
8 0

Answer:

The description for the given question is described in the explanation section below.

Explanation:

Depending on the needs of the device programmers these OS have various locking frameworks. Spinlocks become beneficial for preemptive multitasking processes during which a thread will operate in such an active loop instead of risking a rest queue latency. Mutexes become beneficial to utility lockers.

  • Solaris 2 employs flexible mutexes, indicating something like this on preemptive multitasking computers, the mutex is introduced with either a spinning switch.
  • Semaphores and state variations are much more effective methods for consistency where a commodity needs to be managed for such a prolonged period of time because spinning is unstable over a prolonged time.

You might be interested in
Mary is writing an article about the animal kingdom. She wants to place image below the text. Which menu should Mary choose for
marysya [2.9K]

The Wrap Text menu.

The positioning of text in Word is sometimes not lined up with the inserted picture. By default, when you insert an image or a picture, its layout is set to inline with text. To change that, double click on the picture and then click the Wrap Text option. A number of options will pop up with text graphics.


7 0
2 years ago
Read 2 more answers
Simulate a circuit for controlling a hallway light that has switches at both ends of the hallway. Each switch can be up or down,
Dmitry [639]

Answer:

int switch_1,switch_2;

int get_first_switch_state()

{

return switch_1;

}

int get_second_switch_state()

{

return switch_1;

}

int get_lamp_state()  

{

if((get_first_switch_state())

if(get_second_switch_state()) return 1;

else

if(!get_second_switch_state()) return 1;

return 0;

}

void toggle_first_switch()

{

  if(get_first_switch_state()) switch_1=0;

  else switch_1=1;

}

void toggle_second_switch()

{

if(get_second_switch_state()) switch_2=0;

else switch_2=1;

}

Explanation:

5 0
2 years ago
Which role is delegated to personnel of the IT department and is responsible for maintaining the integrity and security of the d
enyata [817]

Correct question.

Which role is delegated to personnel of the IT department and how is responsible for maintaining the integrity and security of the data?

Answer:

<u>data custodian</u>

<u>Explanation:</u>

Remember, every organization generates data, and large organizations generate even larger data.

Hence, the role of a data custodian in an organization requires He implements measures to protect the organization's data, store and backup the data, as well as granting access to the data to authorized persons when needed.

3 0
1 year ago
The basic job of a ________ is to enforce an access control policy at the border of a network.
Elza [17]

Answer:

A. Firewall

Explanation:

 

A firewall is a network security device that monitors incoming and outgoing network traffic and decides whether to allow or block specific traffic based on a defined set of security rules.

Firewalls have been a first line of defense in network security for over 25 years. They establish a barrier between secured and controlled internal networks that can be trusted and untrusted outside networks, such as the Internet.  

A firewall can be hardware, software, or both.

-Cisco

7 0
2 years ago
Which commands can be used to highlight a whole paragraph? Check all that apply.
stepan [7]

Answer:

The correct commands are:

  • <em>Click two times when the arrow cursor is at the selection bar.</em>

  • <em>Drag the cursor from the start to the end point of the paragraph.</em>

  • <em>Put the cursor in front of the first word in the paragraph, then click three times.</em>

Explanation:

<em>Press the Ctrl key while clicking on a word.</em>

  • Incorrect. This highligths the sentence but not the whole paragraph.

<em>Click two times when the arrow cursor is at the selection bar.</em>

  • Correct.

The selection bar is on the left side of the window and is invisible. When you put the cursor on this area, to the left of a line of a paragraph, one click selects the line and two clicks select the whole paragraph.

<em>Drag the cursor from the start to the end point of the paragraph.</em>

  • Correct: this is the most classical. By dragging the cursor you select everything that is between the starting point and the end point.

<em>Place the cursor on the paragraph, then use the Ctrl+A keys.</em>

  • Incorrect: if you do not click nothing happens.

<em></em>

<em>Put the cursor in front of the first word in the paragraph, then click three times.</em>

<em></em>

  • Correct: It is very easy. Just click before the first word, to put the cursor in front of it, and then click three times.

6 0
2 years ago
Other questions:
  • Rebooting a system in an attempt to fix a problem is an example of the ____ problem-solving strategy.
    11·1 answer
  • Rupa would like to quickly insert a table into her document without having to worry about formatting the data in the table. Whic
    5·2 answers
  • Kayle is building a web form. He has included space where users can input their phone numbers and email addresses. However, he w
    15·1 answer
  • Given a sorted array of integer, A, with possible duplicate elements. Implement an efficient (sublinear running time complexity)
    12·1 answer
  • Write a static method named countLastDigits that accepts an array of integers as a parameter and examines its elements to determ
    8·1 answer
  • 6.4 Predicting Prices of Used Cars. The file ToyotaCorolla.csv contains data on used cars (Toyota Corolla) on sale during late s
    5·1 answer
  • Create a single list that contains the following collection of data in the order provided:
    9·1 answer
  • Organizations that have no physical ("brick and mortar") presence, but only exist because of communication and computer technolo
    9·1 answer
  • Please help, Tech class!!
    14·1 answer
  • Create an application named SalesTransactionDemo that declares several SalesTransaction objects and displays their values and th
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!