Page MenuHomePhabricator

[OpenMP] Allow affinity to re-detect for child processes
ClosedPublic

Authored by jlpeyton on Mar 23 2021, 3:03 PM.

Details

Summary

Current atfork() handler for child processes does not reset the affinity masks array which prevents users from setting their own affinity in child processes.

Diff Detail

Event Timeline

jlpeyton created this revision.Mar 23 2021, 3:03 PM
jlpeyton requested review of this revision.Mar 23 2021, 3:03 PM
Nawrin accepted this revision.Apr 7 2021, 7:17 AM

LGTM

This revision is now accepted and ready to land.Apr 7 2021, 7:17 AM
This revision was automatically updated to reflect the committed changes.