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
  • !1267

Merged
Opened Aug 07, 2020 by akwizgran@akwizgranOwner

Share a single wake lock among all holders

  • Overview 11
  • Commits 8
  • Pipelines 3
  • Changes 21

This branch refactors the use of Android wake locks so all holders share a single OS wake lock. Each holder accesses the shared wake lock through an idempotent acquire/release interface. This will be useful later when we have lots of short-lived locks with overlapping lifetimes.

The branch also refactors the creation of Bluetooth connections, adding a factory so we don't have to pass all the dependencies for connections via the plugin and plugin factory constructors.

Second part of #1142 (closed)

Edited Aug 10, 2020 by akwizgran
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: briar/briar!1267
Source branch: 1142-wake-lock-refactoring

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.