Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Semaphpores
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Semaphores
Semaphores is a more advanced locking mechanism, which has an internal counter, rather than a lock flag, and it only blocks,
if more than a given number of threads have attempted to hold the semaphore.
Depending on how the semaphore is initialized, this allows multiple threads to acces the same code section the same time.