Skip to content

Commit

Permalink
should have used hpx::apply()
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Apr 22, 2020
1 parent 7fca918 commit 3477e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apex/profiler_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ void apex_schedule_process_profiles() {
} else {
if(!consumer_task_running.test_and_set(memory_order_acq_rel)) {
try {
hpx::async(&profiler_listener::process_profiles_wrapper);
hpx::apply(&profiler_listener::process_profiles_wrapper);
} catch(...) {
// During shutdown, we can't schedule a new task,
// so we process profiles ourselves.
Expand Down

0 comments on commit 3477e76

Please sign in to comment.