Skip to content
Snippets Groups Projects

Prevent concurrent vtune resume or pause calls.

When starting vtune "paused" and resuming vtune using the VTuneProfilerService in ahtenaMT with multiple threads, it may happen that multiple threads try to resume the profiling concurrently, which may lead to undefined behaviour i.e. vtune resumes or does not resume profiling depending on luck.

This is avoided by only allowing one resume/pause call at the time.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading