add getOSThreadID()
authorAdam Simpkins <simpkins@fb.com>
Tue, 6 Jun 2017 02:07:36 +0000 (19:07 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 6 Jun 2017 02:23:22 +0000 (19:23 -0700)
commitb611811b346a865c43c5462bb10a7c55fb11c6d8
tree70f857d72c8834603a64c604a6e0007715343308
parentf1eb3c506a6510dd1101da0d071ef4a41650f70a
add getOSThreadID()

Summary:
Add a getOSThreadID() call.  This is similar to getCurrentThreadID(), but
returns the OS-level thread ID.

Reviewed By: yfeldblum

Differential Revision: D5173627

fbshipit-source-id: 0e8695ecfc1e382d12526c1b7d1717be114c9f4a
folly/ThreadId.h