Make folly::getCurrentThreadId() return a thread ID on OSX
authorChristopher Dykes <cdykes@fb.com>
Fri, 14 Apr 2017 20:54:32 +0000 (13:54 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Apr 2017 21:05:01 +0000 (14:05 -0700)
commit9b2f7afe192834fdc4abc5687abc072bede25cd6
treef33edaf488ac5ea4571e4b0d8b833b95c6c903f7
parent1244eb2496071f4438ca1dd3d95c56e09e99cd43
Make folly::getCurrentThreadId() return a thread ID on OSX

Summary: It was previously returning a pointer masquerading as a `uint64_t`.

Reviewed By: yfeldblum

Differential Revision: D4888325

fbshipit-source-id: 6cf6ed09f0e7a39a8a2f93d3fa14b06913c27805
folly/ThreadId.h