Windows Threads Question:

Download Job Interview Questions and Answers PDF

semaphore variable is different from ordinary variable by?

Windows Threads Interview Question
Windows Threads Interview Question

Answer:

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!

Download Windows Threads Interview Questions And Answers PDF

Previous QuestionNext Question
What is Windows DAEMON?Which one is not needed for Multi-program environment?