Page MenuHomePhabricator

Fix balanced affinity so thread's private affinity mask is updated
ClosedPublic

Authored by jlpeyton on Sep 21 2018, 1:41 PM.

Details

Summary

Balanced affinity only updated the thread's affinity with the operating system.
This change also has the thread's private mask reflect that change as well so
that any API that probes the thread's affinity mask will report the correct mask value.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton created this revision.Sep 21 2018, 1:41 PM
hbae accepted this revision.Sep 21 2018, 2:50 PM

LGTM.

This revision is now accepted and ready to land.Sep 21 2018, 2:50 PM
This revision was automatically updated to reflect the committed changes.