Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88860

wasm: When having multiple theads that share a mutex, then it is possible that a mutex will stay locked despite having had unlock() called on it

    XMLWordPrintable

Details

    • WebAssembly

    Description

      When having multiple theads that share a mutex, then it is possible that a mutex will stay locked despite having had unlock() called on it. This happens in the attached example when the mutex is unlocked after postEvent() is called. If the mutex is unlocked before postEvent() is called then it works fine. This also works fine on the desktop.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            aleksandr.reviakin Aleksandr Reviakin
            andysh Andy Shaw
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes