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

How does the cpu and the ram communicate?

0 Answers  


Describe different job scheduling in operating systems?

2 Answers  


How much ram do I need?

0 Answers  


Is 64bit faster than 32?

0 Answers  


Are there any problems that the cpu faces? Have any measures been taken to make it more efficient?

0 Answers  






Who was the discover Mouse & When.?

4 Answers  


What is inaddr_any?

0 Answers  


What is a layered approach and what is its advantage?

0 Answers  


What are rings in Windows NT?

1 Answers  


What is a mission critical system?

0 Answers   CSE,


Explain the handheld systems.

0 Answers  


Explain any program using Semaphores.

0 Answers   Huawei,


Categories