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

Describe the Operating System concept of Fragmentation

0 Answers   Tech Mahindra,


What are the states associated with the thread?

0 Answers  


What do you mean by semaphore?

0 Answers  


What replaced ifconfig?

0 Answers  


What is short term scheduler in operating system (os)?

0 Answers  






What is the use of chkdsk f?

0 Answers  


What are the five types of operating system?

0 Answers  


How can a ddr1 ram be identified from a ddr2 ram module physically?

0 Answers  


Explain the concept of the batched operating systems?

0 Answers  


What are necessary conditions for dead lock?

0 Answers  


How do I empty my mac cache?

0 Answers  


Does chkdsk erase data?

0 Answers  


Categories