[Openmp-commits] [openmp] Draft: [OpenMP] Fix datarace with taskgraph dependencies and task stealing (PR #150880)

Josep Pinot via Openmp-commits openmp-commits at lists.llvm.org
Tue Oct 7 03:27:56 PDT 2025


jpinot wrote:

> In which case can a different thread insert a node into the dependency graph? The graph should contain only sibling tasks, so how can a different thread create a task that is sibling to tasks in the taskgraph? Is the problem, that the stealing thread removes nodes from the DAG while the taskgraph is generated?

Description was wrong, I updated the PR comment and code :smiley: 

https://github.com/llvm/llvm-project/pull/150880


More information about the Openmp-commits mailing list