Switch pid_t to be defined as int rather than void*
authorChristopher Dykes <cdykes@fb.com>
Tue, 20 Jun 2017 00:23:19 +0000 (17:23 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 20 Jun 2017 00:35:32 +0000 (17:35 -0700)
commit04429ca10ece5542dd3648033c62c9d2bc7d4d04
tree3e484307615b9df40508a9e7286fb9d9e00a2597
parent009082dca9eeaa2f75f839ece82ae44ef8659387
Switch pid_t to be defined as int rather than void*

Summary: Because an `int` plays much much nicer with code already written for Windows than `void*` does. It takes quite a bit of hackery to make it possible with the pthread implementation we support using, but it is possible and is worth the effort.

Reviewed By: yfeldblum

Differential Revision: D5276968

fbshipit-source-id: 4cd0d3120a4f19976e76853ef4b337e96d5005a8
folly/portability/PThread.h
folly/portability/SysTypes.h