Simplify impl of setThreadName
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 18 Oct 2017 02:28:49 +0000 (19:28 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 18 Oct 2017 02:40:07 +0000 (19:40 -0700)
commitbf58d50a14cf4e0f79ce9765c2facf3d0691856f
tree43392f698d229966cd763cdf4f55b9ace1fd1b3b
parent68d54bdd5d12c622104d2d621e8190827d06145d
Simplify impl of setThreadName

Summary: [Folly] Simplify impl of `setThreadName`.

Reviewed By: Orvid, ot

Differential Revision: D6075179

fbshipit-source-id: 720f29cc688f97b936813898238b8eb26b8a6141
folly/ThreadName.cpp