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 was the last 32 bit processor?

0 Answers  


What is the main difference between wait() and sleep() method?

0 Answers  


Which is better 32 bit or 64 bit?

0 Answers  


What are the different raid levels?

0 Answers  


Is it possible to have a deadlock involving only one process? Explain your answer.

0 Answers  


Which technology does Pentium use - RISC or CISC?

0 Answers   Tech Mahindra,


What does the safe mode do?

0 Answers  


Is program files x86 64 bit?

0 Answers  


Explain High Severity and Low Priority with example?

0 Answers   Wipro,


What is virtual memory? Where it used by OS?

0 Answers   MCN Solutions,


What is inaddr_any?

0 Answers  


Can you move programs from c drive to d?

0 Answers  


Categories