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 are the different types of scheduling algorithms?

0 Answers  


What is a 32 bit system?

0 Answers  


What is the sequence of the three way handshake?

0 Answers  


Is a directory a regular file?

0 Answers  


Explain the booting process of a windows xp system.

0 Answers  


Which one you will use to implement critical section?

0 Answers   Verifone,


How do you fix a blue screen?

0 Answers  


List the possible threads a thread can have?

0 Answers  


What is the safest computer operating system?

0 Answers  


Can I change a 32 bit to 64 bit?

0 Answers  


How do I find system information?

0 Answers  


What does tty mean?

0 Answers  


Categories