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 |
How to update value using threads. Write code?
Which one you will use to implement critical section?
What is the difference between a computer process and thread?
Tell me how to share printer through ftp(fire transfer protocol)?
Explain what is windows daemon?
Can you explain too many times when I click on a sentence a caption comes on grr a pop up blocker maybe blockiing--however I have pushed the turn off pop upblocker. This only happens on google it does not happen on att.net?
What is the impact if DNS Server fails?
Explain which one is not needed for multi-program environment?
Tell me when we browse internet system getting 500 error how will you solve the problem?
What is the default kill signal?
Explain thread.sleep?
What is the reason for getting the dialouge box( send this error to microsoft giving options as send to microsoft and dont send ) when we abort from the any work when it was struck.