Refactor setThreadName to have the std::thread::id overload as the implementation
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

facebook/folly,rklabs/folly,Orvid/folly,rklabs/folly,facebook/folly,Orvid/folly,rklabs/folly,rklabs/folly,Orvid/folly,facebook/folly,rklabs/folly,facebook/folly,Orvid/folly,facebook/folly,Orvid/folly