Don't invoke undefined behavior when getting the pthread_t out of std::thread::id
authorChristopher Dykes <cdykes@fb.com>
Mon, 17 Apr 2017 22:40:29 +0000 (15:40 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 17 Apr 2017 22:57:28 +0000 (15:57 -0700)
Summary: This assumes I understand strict-aliasing rules correctly.

Reviewed By: yfeldblum

Differential Revision: D4900118

fbshipit-source-id: edba535d3ba799ac665d3f859dc4154b2c1b22cb


No differences found