Explain me what is semaphore?

Submitted by: Muhammad
A semaphore is an abstract datatype or variable that is used for controlling access, by multiple processes to a common resource in a concurrent system such as multiprogramming operating system. Semaphores are commonly used for two purposes

☛ To share a common memory space
☛ To share access to files
Submitted by: Muhammad

Read Online Embedded Software Engineer Job Interview Questions And Answers