Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-335 Remove the use of managed C++ in the bridge
  3. REEF-1902

Use external executor and Runnable in MultiAsyncToSync

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17
    • Component/s: Wake

      Description

      MultiAsyncToSync class takes a FutureTask<> as input, but only calls its .run() method. That is, we can simplify the interface and make it accept Runnable. This change is packward-compatible, as FutureTask implements Runnable. We should also allow MultiAsyncToSync to run tasks indirectly using the executor service, and update the unit tests accordingly.

        Attachments

          Activity

            People

            • Assignee:
              motus Sergiy Matusevych
              Reporter:
              motus Sergiy Matusevych
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h Original Estimate - 24h
                24h
                Remaining:
                Time Spent - 48h Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - 48h Remaining Estimate - 1h
                48h