Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • 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
  • !362

introduce simple CallbackHandle

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Florian Fischer requested to merge aj46ezos/emper:cancel-callbacks-simple into master Mar 04, 2022
  • Overview 0
  • Commits 1
  • Pipelines 6
  • Changes 7

A CallbackHandle is used to cancel a previosuly submitted future with set callback without keeping the future object around.

A CallbackHandle remembers the callback pointer and the IoContext where the callback was submitted to submit a cancel operation for the pointer on the same IoContext.

A CallbackHandle can be obtained by calling Future::submitAndGetCallbackHandle().

Edited Mar 04, 2022 by Florian Fischer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cancel-callbacks-simple