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

1.Can anyone tell how to install os manually? and is there any problem to install os? 2. Can anyone tell how to resolve the blue screen error to install os

6 Answers   Wipro,


Explain difference between ntfs4 and ntfs5?

0 Answers  


What is wait() and notify()?

0 Answers  


How to stop a thread?

0 Answers  


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  






How do you kill a service?

0 Answers  


Explain the difference between ntfs4 and ntfs5?

0 Answers  


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

8 Answers   Wipro,


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  


semaphore variable is different from ordinary variable by ?

2 Answers   Siemens,


How do you taskkill a program?

0 Answers  


What is multi programming?

0 Answers  


Categories