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
Alchen [17]
3 years ago
14

If we can lock a file, we can solve the race condition problem by locking a file during the check-and-use window, because no oth

er process can use the file during the time window. Why don’t we use this approach to solve the race condition problems discussed in this chapter?
Computers and Technology
1 answer:
yKpoI14uk [10]3 years ago
5 0

Answer:

A file can only be locked out to other users or processes only if it's already open, meaning it's in use as a resource during the time window and therefore it's impossible solving the race condition problem by locking the file during the check-and-use window.

Hence, during the check-and-use process, it's impossible to lock a file.

In conclusion, any lock created can be ignored by the malicious process.

You might be interested in
What is a Windows feature that allows you to temporarily store text?
nata0808 [166]
This would be copy and paste.

When you select a text, you can use your keys CTRL and C to copy that same selected text. After this, you can use the paste feature by selecting CTRL and V. Doing this, your selected text will be copied and pasted to a certain location. 
3 0
3 years ago
Java allows small programs, called _____, to be embedded with an Hypertext Markup Language (HTML) document.
aleksandr82 [10.1K]

Answer:Applets

Explanation: In java,applets are the small programs that create the interactivity with the user in a particular application of the web. It is used for apart from the usage of the Hyper text mark-up language(HTML) because it adds-on the interactive feature towards the user , which are absent in the HTML.It helps in the handling.of the control buttons of device like mouse.

3 0
3 years ago
Which of the following is a typical feature of forums but not of review sites?
kkurt [141]
Actually, two options are correct:

They allow private messaging. -  this is your safest option, as review sites don't offer private messaging (many rewiews are anonymous, so that would kill the point), but all forums do.
<span>

You need to sign up to be a member
</span>Actually, this is also true, as many, if not most forums do require you to sign up, so that it is visible whenever a certain person posts again - otherwise you won't know if you're talking to the same person! however, many review sites, for example reviewing doctors, let you post without signing in.
6 0
4 years ago
Read 2 more answers
Help me please big test
4vir4ik [10]

Answer:

keyboard I think. sorry if I'm wrong

5 0
3 years ago
A data center designer requested additional lighting for the entrance to the data center as well as the removal of a object whic
Ira Lisetskai [31]

Answer:

SURVEILLANCE-SPECIFIC DESIGN.

Explanation:

Defensible space offers a series of architectural guidelines that can be used in the design of new urban residential complexes to promote both the residential group’s territorial claim to its surroundings and its ability to conduct natural surveillance. The designs are: site interrelationship design, site design, street design and surveillance-specific design.

Surveillance-specific design can be used to increase general visibility by providing adequate lighting, by reducing or eliminating physical barriers to visibility, and by the visibility-promoting location of key areas (entrances, lobbies, elevator waiting areas, parking areas e.t.c.) so as to be directly visible from as many viewpoints as possible.

Since the data center designer requested additional lighting for the entrance to the data center as well as the removal of a object which is blocking security's view of the entrance, then it is an example of SURVEILLANCE-SPECIFIC DESIGN.

6 0
3 years ago
Other questions:
  • Identify the publisher in this citation:Carter,Alan.A guide to Entrepreneurship.New York: River’2008.Print.
    9·1 answer
  • Which partitioning method must you use for a 4-tb hard drive?
    13·1 answer
  • Write a program (C++) that reads a number between 1,000 and999,999 from the user where the user enters a comma in the input.Then
    13·1 answer
  • Write an if-else statement with multiple branches. If givenYear is 2101 or greater, print "Distant future" (without quotes). Els
    15·2 answers
  • A professional development plan allows an employee to
    5·1 answer
  • Which format of image files can be inserted in html?​
    8·2 answers
  • Who Has any idea How to code?
    7·2 answers
  • Write a program to Test if mold is stored in the variable word.
    5·1 answer
  • Describe how sharing and collaborating a spreadsheet can help the author of the spreadsheet.
    11·1 answer
  • The Boolean Foundation hosted a raffle to raise money for charity and used a computer program to notify the participants about t
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!