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
Wewaii [24]
3 years ago
9

Should a waiting thread receive priority over a thread first attempting to enter a monitor? What priority scheme, if any, should

be imposed on waiting threads?
Computers and Technology
1 answer:
nadezda [96]3 years ago
6 0

Answer:

Yes, thread should have a priority level. Threads are scheduled to run based on their scheduling priority. Each thread is assigned a scheduling priority. The priority levels range from zero (lowest priority) to 31.

Explanation:

Threads generally are given different kinds of priorities based on the types of work the threads will be used for. This is normally known as scheduling and it is a vital procedure in thread prioritization. The standard priority levels for every thread is from the lowest priority which is typically '0' and the highest priority which is approximately 31.

You might be interested in
What are the economic, social, political and cultural effects of the West Indian Day Parade
kvasek [131]

Answer:

Explanation:

The Carnival goes on for five days in September starting on the last Thursday before Labor Day. Its culmination and grand finale is the parade on Labor Day, which runs along Eastern Parkway from Utica Avenue to Grand Army Plaza. The parade is a spectacularly colorful affair where the most elaborate and creative costumes will strike your imagination. Each masquerade camp or “mas” tries to win a cash prize by introducing their theme. Some of the more exciting themes of past parades include: Tribute to Bob Marley, Jewels of the City, Seagate and Caribbeans Unite. The most coveted titles of the parade are the titles of king and queen. Naturally, their costumes are the most stunning.

Of course, the Carnival wouldn’t have its tremendous appeal without the variety of traditional Caribbean music and food made available. Attendees can enjoy various types of Caribbean music such as calypso, which evolved out of traditional folk music of Trinidad and Tobago; soca, a contemporary offsoot of calypso; reggae; rap; and the

6 0
3 years ago
Write a program that extracts the last three items in the list sports and assigns it to the variable last. Make sure to write yo
zhuklara [117]

Answer:

Following is the program in python programming language

sports = [14, 25, 32, 63, 79, 38, -10] #list sports  

print("The original list is : " + str(sports)) #display original list

last = sports[-3:] #extracts the last 3 items from the list

print("The last 3 elements of list is : " + str(last)) #display the last 3 item

Output:

The original list is  : [14, 25, 32, 63, 79, 38, -10]

The last 3 elements of list is: [79, 38, -10]

Explanation:

Following are the description of program

  • Declared and initialized the items in the list "sports".
  • After that display the list "sports" by using str function in the python language
  • sports[-3: this will extract the last 3 three items in the list and store the result in the last variable .
  • Finally display the last variable it will print the last 3 element in the list
8 0
3 years ago
The ____ provides access to the Internet may also be internal.
dmitriy555 [2]
Local area network (LAN)
7 0
3 years ago
Read 2 more answers
What is the first step of viewing a web page as described in the video?
Sonja [21]

Answer:

URL

Explanation:

The order is URL, request, response, then render

4 0
3 years ago
Someone help me I don’t know what to do /COMPUTER SCIENCE
nydimaria [60]
It kind of depends on the intended language, but I can see the following mistakes:

- lines not terminated with a semicolon (but not all languages require this)
- while statement missing parenthesis, ie., while (num1 <= num2), also not required in all languages
- statements below the while statement must be grouped by curly braces
- num1+5 should be num1=num1+5 or num1 += 5

Output will be:

10
15
20
25
30
5 0
4 years ago
Other questions:
  • Why is a port scan detected from the same ip on a subnet an alarming alert to receive from yourids?
    5·1 answer
  • What purpose would tracking changes be most useful for?
    7·1 answer
  • Hello... does anyone know why Brainly notifications aren’t working???
    11·2 answers
  • What is the drawback of the linear model?
    5·2 answers
  • What is ATX full size motherboard? Tell its size as well?
    14·1 answer
  • ​Suppose your computer network was compromised in a large scale virus attack last Thursday. Most of the data files got corrupted
    8·1 answer
  • Can you answer the fill in the blanks
    15·2 answers
  • Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new vi
    13·1 answer
  • When you evaluate the use of digital media, how has it affected the newspaper business? The rise of digital media has caused new
    15·1 answer
  • How is unqualified assumptions a disadvantage of communication​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!