Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-710

rX_SemWaitForSemaphoreCount always returns RX_OK, even when returned count is 0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: V2.1.1.0, V2.1.2.0, V2.1.3.0, V2.1.4.0, V2.1.5.0, V2.1.6.0, V2.1.7.0, V2.1.8.0
    • Fix Version/s: V2.1.9.0
    • Component/s: Kernel
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      The function rX_SemWaitForSemaphoreCount() does not check if the wait has succeeded and always returns RX_OK. If the semaphore is equal to zero it should return a timeout error.

      When the semaphore count is zero it should return RX_SEM_NO_COUNT as error.

      This is an rcX V2.0 compatibility issue

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MTrensch Michael Trensch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: