QP Semaphore Max Value Setting
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
QP semaphores are counting semaphores; would it be possible to add a max count value?
• We have a use case which requires the equivalent of a binary semaphore. For example, if a high priority thread signals a semaphore 2 times, a lower priority thread waiting on that semaphore will unblock twice. We would like it to unblock only once no matter how many times the semaphore was signaled by the higher priority thread.
• A max count rather than a specific binary semaphore implementation seems more general purpose
Anonymous
This feature request for the QXK kernel has been implemented in QP/C/C++ 4.9.6.
--MMS