menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
When mutex lock is implemented as a binary semaphore, what should its value be initialized to be? a) 0 b) 1 c) -1 d) none of the above
asked
Jul 15, 2023
61.1k
views
2
votes
When mutex lock is implemented as a binary semaphore, what should its value be initialized to be?
a) 0
b) 1
c) -1
d) none of the above
Mathematics
high-school
Vuzun
asked
by
Vuzun
7.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
I think the answer is A
Nicolas Henin
answered
Jul 21, 2023
by
Nicolas Henin
8.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Feb 8, 2024
214k
views
All processes share a semaphore variable mutex, initialized to 1. Each process must execute wait(mutex) before entering the critical section and signal(mutex) afterward. ii) Suppose a process executes
Ramasamy Kanna
asked
Feb 8, 2024
by
Ramasamy Kanna
8.0k
points
Computers and Technology
high-school
1
answer
1
vote
214k
views
asked
Jan 21, 2024
131k
views
All processes share a semaphore variable mutex, initialized to 1. Each process must execute wait(mutex) before entering the critical section and signal(mutex) afterward. i) Suppose a process executes in
Snaut
asked
Jan 21, 2024
by
Snaut
7.8k
points
Computers and Technology
high-school
1
answer
5
votes
131k
views
asked
May 21, 2021
173k
views
_______ can be used to prevent busy waiting when implementing a semaphore. A) Spinlocks B) Waiting queues. C) Mutex lock. D) Allowing the wait
Prajwal
asked
May 21, 2021
by
Prajwal
8.3k
points
Computers and Technology
college
1
answer
2
votes
173k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
A bathtub is being filled with water. After 3 minutes 4/5 of the tub is full. Assuming the rate is constant, how much longer will it take to fill the tub?
i have a field 60m long and 110 wide going to be paved i ordered 660000000cm cubed of cement how thick must the cement be to cover field
A dealer sells a certain type of chair and a table for $40. He also sells the same sort of table and a desk for $83 or a chair and a desk for $77. Find the price of a chair, table, and of a desk.
The cost of 5 similar digital cameras and 3 similar video cameras is 3213. Each video camera costs 4 times as much as each digital camera. John buys a digital camera and a video camera. How much does he
Mr. Jacob is 55 years old and tony is 7 years old. in how many years will mr. Jacobs be 4 times as old as Tony
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org