Create the pthread.h portability header
authorChristopher Dykes <cdykes@fb.com>
Fri, 1 Apr 2016 18:16:57 +0000 (11:16 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Fri, 1 Apr 2016 18:20:30 +0000 (11:20 -0700)
commitc63fe6c3e358c81a3e5458c16410191e93ceb6f5
tree6e8e5fa0f51f485062e07277c157a38d3784770f
parent9ab69bc7853ebcee1d4e76acd1a05d548433289a
Create the pthread.h portability header

Summary: The primary issue is that the pthread implementation we use for Windows defines `pthread_t` as a struct (yes, it is allowed to do this), which breaks a lot of things.

Reviewed By: yfeldblum

Differential Revision: D2862671

fb-gh-sync-id: 551569b6a9e2e374cf77e186e148b6b397f8f25f
fbshipit-source-id: 551569b6a9e2e374cf77e186e148b6b397f8f25f
folly/Conv.h
folly/Makefile.am
folly/io/async/EventBase.cpp
folly/io/async/NotificationQueue.h
folly/io/async/SSLContext.cpp
folly/portability/PThread.h [new file with mode: 0755]