semaphore variable is different from ordinary variable by ?
Answers were Sorted based on User's Feedback
Answer / suja
semaphore uses one thread .so it can access little slower
than ordinary variable.
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / 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 |
Explain the reasons of rebooting the system?
how do u share printer through FTP(fire transfer protocol)?
Explain thread.sleep?
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?
Explain what is the impact if dns server fails?
What are the benefits of multithreaded programming?
Which one you will use to implement critical section?
Can you explain too many times when I click on a sentence a caption comes on grr a pop up blocker maybe blocking--however I have pushed the turn off pop up blocker. This only happens on google it does not happen on att.net?
What are multithreading models?
What is AD/AM in Windows2003?
1 Answers Accenture, ASD Lab, Mphasis,
cannot copy (file name)- access is denied,
Tell me when we browse internet system getting 500 error how will you solve the problem?