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 |
what are the different types of codes in thread in windows os?
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? I wanna know in reality which are the threads do they have any name..?
What is a p-thread?
What is wait() and notify()?
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 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?
Explain the reasons of rebooting the system?
How do you taskkill a program?
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?
What is thread injection?
What is the default kill signal?
What is the impact if DNS Server fails?