semaphore variable is different from ordinary variable by ?

Answer Posted / nirmalraj

Semaphore variable is used under 'n' process solutions to
handshake mutual exclusion rule, where as ordinary variable
is used such circumstance is error prone if set that
variable as boolean type even you get problem while setting
value to parent thread.

where n>1

check it out!

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is multi programming?

533


Explain which one you will use to implement critical section?

507


Purposes, features and functions of windows 98 and xp. i am struggling with this because i have to compare their strenths and weaknesses, please can i get help?

3405


What are the differences between ntfs4 and ntfs5?

509


Explain thread.sleep?

541






In window xp which are the threads. Actually I wanna know if ms word is a process which are the threads? Is spell check is a thread?

512


How do you kill tasks?

504


can any one know about NIC (National Informatics Centre) questions Patterns and full detail about written exam, and interview send to softshikha2005@yahoo.com.in Thank you

1552


Explain difference between ntfs4 and ntfs5?

585


How would you implement a thread pool?

510


Which protocol is working behind dhcp server? And what exactly dora does?

556


What are the different identifier states of a thread?

527


explain readers-writers problem?

3529


Where is taskkill located?

519


Explain how to kill a particular process in windows?

500