Refactor setThreadName to have the std::thread::id overload as the implementation
authorChristopher Dykes <cdykes@fb.com>
Tue, 18 Apr 2017 00:54:50 +0000 (17:54 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 18 Apr 2017 01:10:26 +0000 (18:10 -0700)
commitb85ce0974dd9de2781d142a3fa4fdadc8ec84150
tree849cf9a56619af1b9f82c9348576df6d1aa6e44c
parent43c0c2c5bf5288e64e15edba105d864986c76add
Refactor setThreadName to have the std::thread::id overload as the implementation

Summary: The pthread_t overload will die in the next diff, but cleanup needs to be done first.

Reviewed By: yfeldblum

Differential Revision: D4900830

fbshipit-source-id: d0cd56c5bd7fe22904f631c0cc64dff66448127c
folly/ThreadName.h