Menu

#128 QP Semaphore Max Value Setting

QP-C++
closed
None
1
2017-08-20
2017-07-27
Anonymous
No

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

Discussion

  • Quantum Leaps

    Quantum Leaps - 2017-08-20
    • status: open --> closed
     
  • Quantum Leaps

    Quantum Leaps - 2017-08-20

    This feature request for the QXK kernel has been implemented in QP/C/C++ 4.9.6.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB