Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Briar Desktop Briar Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briar
  • Briar DesktopBriar Desktop
  • Merge requests
  • !55

Merged
Created Nov 27, 2021 by Mikolai Gütschow@ialokimMaintainer

Query data from Briar outside of UI thread

  • Overview 58
  • Commits 11
  • Pipelines 8
  • Changes 19

This MR introduces some convenience functions to access the Briar core API in background threads, reusing the existing DatabaseExecutor and IoExecutor. It also makes sure the EventExecutor is bound to the UI thread to avoid concurrency problems. All the currently existing view models have been updated to make use of the new background functionality.

The changeset is quite big, so I will go on and put some comments on key parts right now.

Closes #98 (closed)

Edited Dec 11, 2021 by Sebastian
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 98-threading