• edited by
1,869 views
3 3 votes

Assume that you have a semaphore associated with each item on a doubly linked list. 
Using No other synchronization primitive, What is the fewest number of semaphore that you must acquire for any operation (lookup, insert, delete) ?

1 Answer

Position:
Show:

Related questions

3 3 votes
1 1 answer
191
191 views
GO Classes asked Aug 3
191 views
A bounded buffer has capacity $6$ and is initially empty.The semaphore values are initially:$\texttt{empty} = 6$$\texttt{full} = 0$$\texttt{mutex} = 1$During execution:$9...
0 0 votes
1 answers 1 answer
1.1k
1.1k views
Mrityudoot asked Jan 27, 2024
1,052 views
Can a counting semaphore acquire a negative value?S = 2;15 P operations done, should the semaphore be 0 or -13
5 5 votes
0 0 answers
1.6k
1.6k views
merna asked May 13, 2022
1,583 views
Using semaphores, design a solution to manage clients access to five banking tellers given the following operation scenario: The bank has a space with 15 chairs and a sta...
1 1 vote
1 1 answer
1.4k
1.4k views