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
il63 [147K]
4 years ago
14

Can two threads in the same process synchronize using a kernel semaphore if the threads are implemented by the kernel? What if t

hey are implemented in user space? Assume that no threads in any other processes have access to the semaphore. Discuss your answers.
Computers and Technology
2 answers:
nasty-shy [4]4 years ago
6 0

Answer:

Answered

Explanation:

With kernel threads, a thread can block on a semaphore and the kernel can run some other thread in the same process. Consequently, there is no problem using semaphores. With user-level threads, when one thread blocks on a semaphore, the kernel thinks the entire process is blocked and does not run it ever again. Consequently, the process fails.

OS X uses traditional counting semaphores rather than binary semaphores (which are essentially locks). Mach semaphores obey Mesa semantics

charle [14.2K]4 years ago
3 0

Answer and Explanation:

It can be executed.

Locks and semaphores are comparative, then again, actually with semaphores, beyond what one string can be doing a given activity on the double.  

Semaphores are regularly utilized when ensuring different undefined source. For instance, you may utilize a semaphore to keep a line from flooding its limits.  

Using kernel threads, a string can hinder on a semaphore and the piece can run some other threads in a similar procedure.  

Therefore, there is no issue utilizing semaphores. With client level threads, when one thread obstructs on a semaphore, the part thinks the whole procedure is blocked and doesn't run it until kingdom come. Therefore, the procedure comes up short.

You might be interested in
Microsoft words spell checker
Virty [35]
To check spelling<span> in a </span>Word<span> document, open up the document, head to the “Review” tab, then click on “</span>Spelling<span> & Grammar” (part of the “Proofing” group of tools). 

</span>
4 0
3 years ago
Answer for 5,6,7 any one know plz
katrin2010 [14]

Answer:

first question option is d

second is false

third is mark

Explanation:

5-The following are generic font

  • serif
  • sans-serif
  • cursive
  • fantasy
  • monospace

6 - We can change image size using height and width. so it is false.

7 - we can highlight text using <mark> Marked text </mark>

5 0
3 years ago
Devices that integrate the computer case (chassis) and system components into the monitor, but have an external keyboard and mou
stepladder [879]

An all-in-one computer is the device that that integrate the computer case (chassis) and system components into the monitor but have an external keyboard and mouse.

<h3>What is an all-in-one computer?</h3>

All-in-one computer are Personal computer that looks like laptop for one;s specific desk.

The all-in-one computer are self-contained units, have a display and the PC hardware behind it in a sleek and slim package.

In conclusion, the all-in-one computer is the device that that integrate the computer case (chassis) and system components into the monitor but have an external keyboard and mouse.

Read more about computer

<em>brainly.com/question/24540334</em>

6 0
2 years ago
While the Internet is used to share many useful services and information, there are growing concerns about the way that the Inte
natulia [17]

Answer:

A true!

Explanation:

3 0
3 years ago
Complete the following sentence.
lidiya [134]

Answer:

Some dams produce renewable hydroelectric power  

Explanation:

hydroelectric is power from water

6 0
3 years ago
Other questions:
  • Please Help Me!!! 40 Points!! Match the correct definition to each term
    14·1 answer
  • 5.) Spam messages account for what percentage of all email?
    15·2 answers
  • Which of the following is not a characteristic of a motorcycle?
    6·1 answer
  • 2.3 Code Practice: Question 3
    14·1 answer
  • What do rocket scientists mean when they say, "forces come in pairs?"
    7·1 answer
  • 6.3 code practice: Question Edhesive
    8·1 answer
  • Is the Internet dangerous?
    10·2 answers
  • What is the determining criterion for removing older transactions from a company file
    9·1 answer
  • Explain the four misconceptions about entrepreneurship.
    7·1 answer
  • iv. Assuming the above operating system that cannot perform memory deallocation. Name at least three effects on the overall syst
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!