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

List at least three things that a running process might do that would cause the scheduler not to move it to the ready state when it stops running.

2 Answers  


Can you access a variable within a worker thread from the main thread?

0 Answers   MindCracker,


Is there a 86 bit operating system?

0 Answers  


Explain the basic concepts and hierarchy of memory?

0 Answers  


What is the cache memory?

0 Answers  


Explain smp.

0 Answers  


State two differences between user and kernel space?

0 Answers   Flextronics,


Who was the discover Mouse & When.?

4 Answers  


Explain the key object oriented concepts used by windows nt?

0 Answers  


What are the different tasks of Lexical analysis?

4 Answers  


How many stages are there in chkdsk?

0 Answers  


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

0 Answers   Accenture,


Categories