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
Sedaia [141]
3 years ago
10

Assume that a finite number of resources of a single resource type must be managed. Processes may ask for a number of these reso

urces and —once finished—will return them. As an example, many commercial software packages provide a given number of licenses, indicating the number of applications that may run concurrently. When the applicationis started, the license count is decremented. When the application is terminated, the license count is incremented. If all licenses are in use, requests to start the application are denied. Such requests will only be granted when an existing license holder terminates the application and a license is returned.The following program segment is used to manage a finite number of instances of an available resource. The maximum number of resources and the number of available resources are declared as follows:#define MAX RESOURCES 5int available resources = MAX RESOURCES;When a process wishes to obtain a number of resources, it invokes the decrease_count() function:/* decrease available resources by count resources *//* return 0 if sufficient resources available, *//* otherwise return -1 */int decrease_count(int count) {if (available resources < count)return -1;else {available resources -= count;return 0;}}When a process wants to return a number of resources, it calls the increase_count() function:/* increase available resources by count */int increase_count(int count) {available resources += count;return 0;}The preceding program segment produces a race condition. Do the following:Identify the location and variables involved in the race condition and use a semaphore to fix the race condition.
Computers and Technology
1 answer:
nevsk [136]3 years ago
5 0
The answer may not be found
You might be interested in
What is meant by close to 75% of all viruses is contracted through friendly means?
snow_lady [41]

Answer: This means that even though we believe the information is coming from a trusted source, it could still contract a virus due to someone else hacking it or the original sending not being aware of the virus.

Explanation: Just because information comes from a trusted/friendly source does not mean the information is clear of potential threats. Viruses are able to hide in information and the sending may not be aware that the virus is hiding in the information.

4 0
4 years ago
What is the area on a machine where work is actually being performed and
zhenek [66]

Answer:

Point of operation guarding

Explanation:

Point of operation guarding. Point of operation is the area on a machine where work is actually performed upon the material being processed. The point of operation of machines whose operation exposes an employee to injury, shall be guarded.

5 0
3 years ago
Please help I need some one that knows about the article Disney Imagineer because I wasn't in school today so please help me wri
NISA [10]

Answer:

I don't know much but I looked up some stuff about the Article.

River of the light-

When park-goers swarm Walt Disney World's Animal Kingdom later this month, Joe Rohde will be paying close attention.

The executive designer and vice president of Walt Disney Imagineering Creative has spent the last eight years overseeing the expansion of Disney's Animal Kingdom park, including its soon-to-be unveiled evening spectacle, "Rivers of Light." Rohde, a Disney veteran who said he started “at the bottom of the design ladder” in 1980, has also been leading the charge on Disney's "Avatar"-themed land, based on James Cameron's 2009 top-grossing film, which is slated to debut in 2017. The first of four planned sequels to Cameron's movie based on the fantastical world of Pandora will hit theaters a year later.

Rohde has overseen the development of Disney's "Avatar"-inspired land, seen in this illustration, which is scheduled to open at Animal Kingdom in 2017.-

Rohde likened the process of developing and constructing a major attraction to filming a major blockbuster film. The whole investment -- from "the morning of conceptualization to opening day" can take anywhere from four to five years, Rohde told ABC News. And in the case of Animal Kingdom, incorporating live animals can lead to other challenges.

"The inclusion of live animals changes design standards ... but it brings realism to design," he said in a phone interview. "Nature is a supreme, immutable value."

The millions of visitors who travel to Disney’s theme parks around the world -- more than 134 million in 2014, according to the Themed Entertainment Association (TEA), an industry trade group -- are not privy to the trials and tribulations of what it takes to bring an idea to fruition at Disney. Imagineers, as they're referred to at Disney, prefer it that way.

"We try to be invisible," Theron Skees, executive creative director for Walt Disney Imagineering, said in an interview.-

Skees started his Disney career painting artificial grottos and tunnels at Disneyland Paris' Pirates of the Caribbean attraction. Skees, who previously worked as a sculptor and set designer in film and commercials, has lived on three continents as a Disney imagineer, tasked with bringing the visions and interpretations of Disney characters and stories to life. The imagineering division, one of the most competitive and challenging practices within the Disney universe, has the sole responsibility of delivering "the magic" that visitors seek year after year. There are at least 1,500 imagineers currently in the company, according to a Disney spokesperson, with 140 disciplines within the group.

"There's the technical know-how, the creative vision, the planners and the operators," Skees said. "Imagineering is a pretty specialized group that requires a specialized mindset."-

And loners need not apply.

"You have to communicate and get an idea out there, whether that's painting, building or drawing models," Rohde added. "The ability to collaborate as a group is a must."

Skees reiterates that every imagineer is encouraged to submit ideas -- whether that’s for a new roller coaster, a live performance or costume design at one of the theme parks, hotels or Disney cruises.

“All ideas go through a process and it’s not exclusive to one person,” he noted.

Ideas can come from anywhere. Rohde immerses himself in books -- non-fiction, art history, neurology -- and vows to plow through the 35 stacked next to his bed, soon-to-be additions to his personal library of 5,000 books.

To be successful in this career “you need to find smart people to work under you and to read a lot,” he explained. Traveling the world? A necessity.

“We’re not making two-dimensional products. You need to know what places are really like,” he added.

Disney is the parent company of ABC News.

Hope you can get your work in on time.

7 0
3 years ago
Read 2 more answers
In a three-tier architecture, the component that runs the program code and enforces the business processes is the:_______.
madam [21]

Answer:

Application Server

Explanation:

The Application Server is a component in computer engineering that presents the application logic layer in a three-tier architecture.

This functionality allows client components to connect with data resources and legacy applications.

In this process of interaction, the Application Server runs the program code from Tier 1 - Presentation, through Tier 2 - Business Logic to Tier 3 - Resources, by forcing through the business processes.

8 0
3 years ago
What is the minimum score for the dmv test?
Naddika [18.5K]
You can only get 6 wrong of the 30 questions.
3 0
4 years ago
Read 2 more answers
Other questions:
  • The design activity key question, "how will this system interact with other systems..." is part of which design activity?​
    7·1 answer
  • _______ can be used more than once.
    8·1 answer
  • Which of the following statement is most accurate? A. A reference variable is an object. B. A reference variable refers to an ob
    6·1 answer
  • To select a new theme for a slideshow use the blank tile in the ribbon
    9·2 answers
  • According to Fourman, Informatics is _______________ with a very _____________ scope.
    5·2 answers
  • Send answer below, Thank you
    8·1 answer
  • How much heat is needed to raise the temperature of 7g of water by 15oC?
    6·1 answer
  • Given the following: int funcOne(int n) { n *= 2; return n; } int funcTwo(int &amp;n) { n *= 10; return n; } What will the follo
    15·1 answer
  • which two functions are performed at the llc sublayer of the osi data link layer to facilitate ethernet communication? (choose t
    13·1 answer
  • Why is internet download speed slower on a computer vs phone
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!