Uploaded image for project: 'Kaa'
  1. Kaa
  2. KAA-158

Kaa C++ SDK: Log mutex manipulations within the mutex (un)lock macro

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.1
    • Fix Version/s: 0.7.1
    • Component/s: Endpoint: C++
    • Labels:
      None

      Description

      Mutex logging and (un)locking should be performed by the same macro. For example this code sample
      KAA_MUTEX_LOCKING("channelGuard_");
      KAA_MUTEX_UNIQUE_DECLARE(lockInternal, channelGuard_);
      KAA_MUTEX_LOCKED("channelGuard_");
      should be transformed into
      KAA_MUTEX_UNIQUE_DECLARE(lockInternal, channelGuard_);
      which will lock "channelGuard_" mutex and provide the log message about this manipulation.

        Attachments

          Activity

            People

            Assignee:
            dyosick Denis Kimcherenko
            Reporter:
            yzeygerman Yaroslav Zeygerman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration