Skip to content

Commit

Permalink
Removing debug print message when tasks created by one thread and sta…
Browse files Browse the repository at this point in the history
…rted by another
  • Loading branch information
khuck committed Oct 16, 2024
1 parent 8c99a36 commit 7f3a421
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apex/apex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -827,10 +827,12 @@ void start(std::shared_ptr<task_wrapper> tt_ptr) {
// make sure APEX knows about this worker thread!
[[maybe_unused]] thread_local static bool _helper = register_thread_helper();
// get the thread id that is running this task
/*
if (tt_ptr->thread_id != thread_instance::instance().get_id()) {
printf("Task %s created by %lu started by %lu\n", tt_ptr->task_id->get_name().c_str(),
tt_ptr->thread_id, thread_instance::instance().get_id());
}
*/
APEX_ASSERT(tt_ptr->state == task_wrapper::CREATED || tt_ptr->state == task_wrapper::YIELDED);
tt_ptr->state = task_wrapper::RUNNING;
if (_notify_listeners) {
Expand Down

0 comments on commit 7f3a421

Please sign in to comment.