Add folly::getCurrentThreadID()
Summary: And also use it in a couple of tests, so that they can be compiled on Windows, where `pthread_t` is a struct rather than a pointer or integer. Reviewed By: yfeldblum Differential Revision: D4191560 fbshipit-source-id: 5bcf0a2952109b2a9bc5220c4640d42e2cdf8977
Showing
folly/ThreadId.h
0 → 100644
Please register or sign in to comment