Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 717
    • Issues 717
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 369
    • Merge requests 369
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamergstreamer
  • Merge requests
  • !794

systemclock: Update monotonic reference time when re-scheduling

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Edward Hervey requested to merge bilboed/gstreamer:clock-spin into 1.18 Apr 13, 2021
  • Overview 2
  • Commits 1
  • Pipelines 4
  • Changes 1

There is no guarantee that the clock is currently advancing, therefore if we re-schedule (because of timeouts) a clock wait, we need to re-acquire the current monotonic clock value against which we will wait.

Avoids spinning the cpu like mad (due to constant timeout) when clocks are PAUSED.

Fixed #673 (closed)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: clock-spin