What is a semaphore?

Answer Posted / alladiya qureshi

it is the share global variable,it can be implemented as
integer or a structure and this semaphore variable will be
used for synchronization.there are two function used to
excess the value of semaphore variable -
1.wait semaphore
2.signal semaphore

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes a corrupt operating system?

525


Is heap shared between processes?

566


How do you restart a crashed laptop?

587


Can kernel panic be fixed?

543


Is chrome os better than windows 10?

523






What is Cycle Stealing in OS?

601


When I press power button on laptop nothing happens?

479


How do I run wget?

528


Which is better curl or wget?

591


What is the shortcut key to refresh laptop?

504


Do simultaneous downloads take longer?

550


What's the best operating system?

596


What causes a computer not to boot up?

486


What is the difference between kernel and operating system?

527


Is deepin os stable?

553