In kernel-space threads, can two threads (in the same process) synchronize using a kernel semaphore? What if the threads are user-space threads? Note - assume only these threads in this process have access to the semaphore. Explain your answer, provide details.

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter8: System Initialization, X Windows, And Localization
Section: Chapter Questions
Problem 2DE
icon
Related questions
Question

In kernel-space threads, can two threads (in the same process) synchronize using a kernel semaphore?

What if the threads are user-space threads?

Note - assume only these threads in this process have access to the semaphore.

Explain your answer, provide details.

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Terminal Threads
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning