Lazily set affinity for root threads. Previously, the root thread executing middle initialization would attempt to assign affinity to other existing root threads. This was not working properly as the set_system_affinity() function wasn't setting the affinity for the target thread. Instead, the middle initialization, which contains affinity initialization, thread was resetting the its own affinity using the target thread's affinity mask.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo