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 what is windows daemon?

0 Answers  


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?

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,


Which protocol is working behind DHCP server? and what excatly DORA does?

8 Answers   Wipro,


Is kill ping a virus?

0 Answers  


cannot copy (file name)- access is denied,

4 Answers  


Explain the difference between ntfs4 and ntfs5?

0 Answers  


Which one is not needed for multi-program environment?

0 Answers  


What's difference between thread and process?

0 Answers  


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  


Explain how to kill a particular process in windows?

0 Answers  


Tell me how to share printer through ftp(fire transfer protocol)?

0 Answers  


Categories