Skip to content

Commit

Permalink
Fix a bug accidentally introduced by 43453 (#46816)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpamnany committed Sep 17, 2022
1 parent a2e1a8d commit ffb3e97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/partr.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,10 @@ JL_DLLEXPORT int jl_enqueue_task(jl_task_t *task)
char failed;
if (multiq_insert(task, task->prio) == -1)
failed = 1;
failed = 0;
JL_PROBE_RT_TASKQ_INSERT(jl_current_task->ptls, task);
else {
failed = 0;
JL_PROBE_RT_TASKQ_INSERT(jl_current_task->ptls, task);
}
return failed;
}

Expand Down

0 comments on commit ffb3e97

Please sign in to comment.