Duck Icon

Lander's blog

Semaphore

Previous: Concurrency

A semaphore is a synchronization primitive similar to locks and condition variables. It provides two operations, signal() and wait(), and keeps track of a count (an integer).

#Publish

Links to this note