Move setPosixThreadName & friends to folly.
authorLouis Brandy <ldbrandy@fb.com>
Sat, 26 Apr 2014 00:05:02 +0000 (17:05 -0700)
committerDave Watson <davejwatson@fb.com>
Tue, 20 May 2014 19:53:57 +0000 (12:53 -0700)
commited92986bddcc28c8c8e8de5769681c0cfdbc84e7
tree9ee0d7800d6d40d068cd17d0be9b0e2e1acacf8c
parent5992ca78fa8446907add3263fcb40801d46c1e77
Move setPosixThreadName & friends to folly.

Summary: This was previously in thrift (and copied and pasted in several other places, including folly itself). Other potential open-source projects want this basic functionality so lets centralize it in folly instead of having potentially awkward dependencies on thrift (or copy/paste everywhere).

Test Plan: Build all the things. Run the tests.

Reviewed By: delong.j@fb.com

FB internal diff: D1297972
folly/ThreadName.h [new file with mode: 0644]
folly/io/async/EventBase.cpp