What is difference b/w general semaphore and binary
semaphore?

Answers were Sorted based on User's Feedback



What is difference b/w general semaphore and binary semaphore?..

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

What is difference b/w general semaphore and binary semaphore?..

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

What is difference b/w general semaphore and binary semaphore?..

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

Post New Answer

More Operating Systems General Concepts Interview Questions

What does tty mean?

0 Answers  


What is software life cycle?

2 Answers  


What is best free operating system?

0 Answers  


Explain the various types of registers?

0 Answers  


What is Concurrency? Expain with example Deadlock and Starvation?

5 Answers   Wipro,






Which vpn protocol is best?

0 Answers  


What grep means?

0 Answers  


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

2 Answers   KCPL,


What are the different phases of compiler? What happens in lexical phase?

0 Answers   Accenture,


What is an immutable object? How can it help in writing a concurrent application?

0 Answers  


What is the highest priority software interrupt?

1 Answers   HP,


What is cache-coherency?

0 Answers  


Categories