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 difference between ntfs4 and ntfs5?

0 Answers  


what are the different types of codes in thread in windows os?

0 Answers   HP, IBM, Reliance,


What is thread safety? How do you achieve it?

0 Answers  


Explain which one is not needed for multi-program environment?

0 Answers  


What is thread safety and synchronization?

0 Answers  


if thread a,b,c have Max,Min,Normal priorty what is N0. in below set they correspond to.Something like (2,0,1)

0 Answers   Honeywell,


what are the reasons of rebooting the system?

11 Answers   HCL, HP, Mphasis,


How do you taskkill a program?

0 Answers  


What is thread injection?

0 Answers  


Explain cannot copy (file name)- access is denied?

0 Answers  


How do we create threads?

0 Answers  


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?

0 Answers  


Categories