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

Critical Sections using TLR_LCK_ENTER/TLR_LCK_LEAVE do not work as expected.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      While restructuring the profinet stack to use TLR_LCK_* functions for critical areas it turned out, that calls to certain functions may unintentionally release an aquired lock. This happens because some functions internally use mutex/semaphores which in turn result in calls to the scheduler and reenabling interrupts.

      The following functions (incomplete) are affected and should never be used inside of such a lock:

      • LIB_MALLOC
      • LIB_FREE

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  AMesser Andreas Messer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: