Add portability support for PThread's TLS API
authorChristopher Dykes <cdykes@fb.com>
Sat, 15 Apr 2017 00:05:09 +0000 (17:05 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 15 Apr 2017 00:24:22 +0000 (17:24 -0700)
commit833ecbf035d548fa3a631c7191cc4ec23b738d05
tree6cbb77817ac623290439172518c05413d18eddc8
parent71c789bb19e9d715f887557fdfde53bff5ff6ff7
Add portability support for PThread's TLS API

Summary:
This is the last piece needed to get Folly working on Windows without PThreads.
Updating Folly's test suite to support compiling without PThreads will come next.

Reviewed By: yfeldblum

Differential Revision: D4894048

fbshipit-source-id: 6076317e1364aef82a5d3cb306bea7c2226b3cdc
folly/Makefile.am
folly/portability/PThread.cpp [new file with mode: 0644]
folly/portability/PThread.h