Shape Shape

Semaphore

Semaphore is a synchronization mechanism used to control access to shared resources in concurrent programming. Used in operating systems and multithreaded applications.

Example:

A program uses semaphores to manage access to a shared printer.

WhatsApp Icon