semaphore variable is different from ordinary variable by ?

Answers were Sorted based on User's Feedback



semaphore variable is different from ordinary variable by ?..

Answer / suja

semaphore uses one thread .so it can access little slower
than ordinary variable.

Is This Answer Correct ?    12 Yes 2 No

semaphore variable is different from ordinary variable by ?..

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

Post New Answer

More Windows Threads Interview Questions

Explain the reasons of rebooting the system?

0 Answers  


how do u share printer through FTP(fire transfer protocol)?

1 Answers  


Explain thread.sleep?

0 Answers  


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?

0 Answers  


Explain what is the impact if dns server fails?

0 Answers  






What are the benefits of multithreaded programming?

0 Answers  


Which one you will use to implement critical section?

2 Answers   HCL,


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?

0 Answers  


What are multithreading models?

0 Answers  


What is AD/AM in Windows2003?

1 Answers   Accenture, ASD Lab, Mphasis,


cannot copy (file name)- access is denied,

4 Answers  


Tell me when we browse internet system getting 500 error how will you solve the problem?

0 Answers  


Categories