Fix folly/ThreadLocal with clang after PthreadKeyUnregister change
authorAndrii Grynenko <andrii@fb.com>
Sat, 21 Nov 2015 05:25:11 +0000 (21:25 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Sat, 21 Nov 2015 06:20:22 +0000 (22:20 -0800)
commit6982589748b6816ef68e6b53cb247dd099da08fe
treed779e8d02388b3353a1cd48080ad4c80a089c71c
parent7ce0da391198be14d4a12a42f918d90ceba63b31
Fix folly/ThreadLocal with clang after PthreadKeyUnregister change

Summary: Make PthreadKeyUnregister a global singleton for all StaticMeta instances.

Reviewed By: luciang

Differential Revision: D2678401

fb-gh-sync-id: c0d58b483fa6f096b29aeb7df71897a75ea8c892
folly/Makefile.am
folly/Portability.h
folly/detail/ThreadLocalDetail.cpp [new file with mode: 0644]
folly/detail/ThreadLocalDetail.h
folly/test/ThreadLocalTest.cpp
folly/test/ThreadLocalTestLib.cpp [new file with mode: 0644]