menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
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
Ask a Question
Questions
Unanswered
Tags
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 & Tech
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 & Tech
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 & Tech
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.4m
questions
12.2m
answers
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
How do you can you solve this problem 37 + y = 87; y =
What is .725 as a fraction
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?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org