Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Briar Desktop Briar Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 219
    • Issues 219
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • 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
  • briarbriar
  • Briar DesktopBriar Desktop
  • Merge requests
  • !55

Query data from Briar outside of UI thread

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mikolai Gütschow requested to merge 98-threading into main Nov 27, 2021
  • 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
Reviewers
Request review from
Time tracking
Source branch: 98-threading