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

Hi, I'm now using windows 7 in my desktop. I have used a lot of audio recording and editing software but most of then doesn't support the compatibility of win7 and often disturbs. So can anyone tell me which one would be the best audio recording and editing software for win7? Thanks Emanali

1 Answers  


What is the impact if DNS Server fails?

2 Answers   Mphasis,


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

0 Answers   HP, IBM, Reliance,


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 up blocker. This only happens on google it does not happen on att.net

1 Answers  


What is AD/AM in Windows2003?

1 Answers   Accenture, Mphasis, ASD Lab,






can any one know about NIC (National Informatics Centre) questions Patterns and full detail about written exam, and interview send to softshikha2005@yahoo.com.in Thank you

0 Answers   NIC,


Which one you will use to implement critical section?

2 Answers   HCL,


explain readers-writers problem?

0 Answers  


Which one is not needed for Multi-program enviornment? 1) virtual memory 2) security 3) time sharing 4) none of the above.

7 Answers   Siemens,


cannot copy (file name)- access is denied,

4 Answers  


if a min thread has finished execution what happens ? a) it exits b) it wait for other threads c) becomes inactive ... etc etc

0 Answers   Honeywell,


How to Kill a Particular Process in windows?

5 Answers   Tomax,






Categories