Package se.lth.cs.realtime.semaphore

Interface Summary
Semaphore Common methods of all types of semaphores, which implements the well-known basic primitive for synchronization and mutual exclusion within the field of concurrent and real-time programming.
 

Class Summary
BinarySem A Semaphore containing a boolean flag instead of a counter, to support signaling in cases when waiting threads should not catch up with successive missed calls of give.
CountingSem Basic type of semaphore containing a counter which is incremented by one fore each call to give, and decremented by one for each returning call of take.
MultistepSem Counting semaphore permitting increments and decrements that are greater than one.
MutexSem A Semaphore with special support for MUTual EXclusion.
 

Error Summary
SemInterrupted  
SemViolation