Skip to content

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