What is difference b/w general semaphore and binary
semaphore?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are the different types of scheduling algorithms?
What is a 32 bit system?
What is the sequence of the three way handshake?
Is a directory a regular file?
Explain the booting process of a windows xp system.
Which one you will use to implement critical section?
How do you fix a blue screen?
List the possible threads a thread can have?
What is the safest computer operating system?
Can I change a 32 bit to 64 bit?
How do I find system information?
What does tty mean?