Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
briar
briar
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 694
    • Issues 694
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • briar
  • briarbriar
  • Merge Requests
  • !1269

Merged
Opened Aug 10, 2020 by akwizgran@akwizgranOwner

Hold a wake lock while polling

  • Overview 10
  • Commits 3
  • Pipelines 2
  • Changes 31

This branch adds a "wakeful IO executor" that can be used to run IO tasks while holding a wake lock. Plugins use the executor for asynchronous polling tasks so that we can continue to poll contacts in parallel as we did before.

Most of this MR is constructor churn. The next MR will use injection to reduce the constructor churn caused by future changes.

Fourth part of #1142 (closed)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: briar/briar!1269
Source branch: 1142-wakeful-polling

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.