What is difference b/w general semaphore and binary
semaphore?
Answers were Sorted based on User's Feedback
Answer / anjalidcsa
General semaphore also called counting semaphore.it is a
varible n whose value equal to no. of items in the buffer.
where as binary is more restricted version having 0 and 1
value.Binary semaphore are easier to implement.
Is This Answer Correct ? | 45 Yes | 5 No |
Answer / laxmi narayana.moru
if there are several processes are waiting for critical
section...general semaphore value is extended to more
negative...but in case of binary semaphore ,semphore value
only between 0 and 1.
Is This Answer Correct ? | 13 Yes | 2 No |
Answer / gayathri
general semaphore is an integer value which is acessed only through two standard atomic operations : wait and signal
Is This Answer Correct ? | 4 Yes | 1 No |
What does tty mean?
What is software life cycle?
What is best free operating system?
Explain the various types of registers?
What is Concurrency? Expain with example Deadlock and Starvation?
Which vpn protocol is best?
What grep means?
1)application programs interact with operating system through system call.is there any method of interaction between the two? 2) Inconveniences faced by user interacting with a computer systemwithout a operating system? 3) what are the requirements for virtual memory architecture
What are the different phases of compiler? What happens in lexical phase?
What is an immutable object? How can it help in writing a concurrent application?
What is the highest priority software interrupt?
What is cache-coherency?