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
How to share printer through ftp(fire transfer protocol)?
What is the reason for getting the dialogue box (send this error to microsoft giving options as send to microsoft and dont send) when we abort from the any workwhen it was struck?
if a min thread has finished execution what happens ? a) it exits b) it wait for other threads c) becomes inactive ... etc etc
Explain difference between ntfs4 and ntfs5?
explain readers-writers problem?
Explain thread.sleep?
Which protocol is working behind dhcp server? And what exactly dora does?
What are the benefits of multithreaded programming?
How do we create threads?
What is wait() and notify()?
What is windows daemon?
How do you kill tasks?
What are the different ways in which a thread can enter into waiting state?
Explain how to kill a particular process in windows?
How would you implement a thread pool?