folly: ThreadLocalDetail: make PthreadKeyUnregister constexpr-constructible, avoid SIOF
Summary:
Since this is used in so many places during the program's static-initialization (at startup), this class itself could be (has been demonstrated to be) a point of SIOF problems itself.
Made this class constexpr-constructible, so it doesn't need to be part of static initialization, making it SIOF-proof.
Reviewed By: luciang
Differential Revision:
D2709231
fb-gh-sync-id:
f248c9f2848c09045e000cfdc03636d847e522c9