Disable PthreadKeyUnregister on iOS and MSVC
authorAndrii Grynenko <andrii@fb.com>
Tue, 5 Jul 2016 18:34:29 +0000 (11:34 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Tue, 5 Jul 2016 18:38:41 +0000 (11:38 -0700)
commit7235d2011dbd7efaf67489d3a827ce006f2399e7
treeea2ba5c5a03b13baf3e6115b940dd515d1a541d9
parenta3bd593ad9374cd3a1db31066874b9bad1cf74b4
Disable PthreadKeyUnregister on iOS and MSVC

Summary: ~PthreadKeyUnregister logic is not safe if we can't guarantee that it has the maximum pririty (i.e. is the last to be run on shutdown).

Reviewed By: ericniebler

Differential Revision: D3517589

fbshipit-source-id: 3340e2e19cf52973ee677288bc4ac6105f3f2543
folly/detail/ThreadLocalDetail.h