semaphore variable is different from ordinary variable by ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

who among the following is responsible for establishing IS Audit function in the organisation?

1110


What are the different identifier states of a thread?

560


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

2208


How to stop a thread?

558


How do you kill a service?

544






Explain which one you will use to implement critical section?

539


What are types of threads?

620


How would you implement a thread pool?

546


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?

531


What are the benefits of multithreaded programming?

659


What's difference between thread and process?

582


How to share printer through ftp(fire transfer protocol)?

579


Why thread is called as a lightweight process?

556


Explain what is the impact if dns server fails?

540


What are the different ways in which a thread can enter into waiting state?

552