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

Thread-safe Android BT LE Java implementation

    XMLWordPrintable

    Details

    • Platform/s:
      Android
    • Story Points:
      13
    • Sprint:
      Team 1 Foundation_Sprint 47, Team 1 Foundation_Sprint 48

      Description

      The JNI calls from Qt/C++ to Java are typically executed in different thread than the Java-side callback functions.

      This means that there needs to be proper thread protection mechanisms in place on both Client and Server side.

      As an example the JNI disconnectServer() call might null the mGattServer variable while a callback using the mGattServer is in progress in another thread. This can lead to unpredictable runtime behaviors.

        Attachments

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

          Activity

            People

            Assignee:
            vuokko Juha Vuolle
            Reporter:
            vuokko Juha Vuolle
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            RnD Owner:
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews