Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E emper
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • i4i4
  • manycore
  • emper
  • Merge requests
  • !11

Remove duplicate block()/unblock() code

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Florian Schmaus requested to merge flow/emper:blockable into master Nov 04, 2020
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 4

This makes all EMPER synchronization primitives inherit from Blockable. As result all block and unblock operations of a context will go to the same code path. We can later use this to store the set of currently blocked contexts.

Also Blockable now inherits Logger, which makes some things easier, but as result we have to invoke the logX() methods with "this->" prepended. See related code comment.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: blockable