What is difference b/w general semaphore and binary
semaphore?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sin_addr?

551


Can you have 2 operating systems on one computer?

543


How do you kill pid?

558


Can chkdsk repair bad sectors?

573


Explain cycle stealing?

554






What is the use of Synchronized keyword?

587


What is process communication?

563


What are the functions of operating system?

589


Briefly explain the concept of Virtual Memory.

736


what is the difference between mutexes and semaphores?

622


Can I change from 32 bit to 64 bit?

560


Describe Operating system?

606


How do I find system information?

552


What are the advantages of multithreaded programming?

557


What is banker's algorithm?

587