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 difference between ntfs4 and ntfs5?
What are the benefits of multithreaded programming?
Explain difference between ntfs4 and ntfs5?
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 are the different identifier states of a thread?
What is thread safety?
How to stop a thread?
Which one is not needed for multi-program environment?
How would you implement a thread pool?
Explain cannot copy (file name)- access is denied?
WHAT IS A DAEMON?
Tell me when we browse internet system getting 500 error how will you solve the problem?