Add hooks to track which threads belong to which thread pools
authorPeter DeLong <pdelong@fb.com>
Mon, 14 Aug 2017 23:40:47 +0000 (16:40 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 14 Aug 2017 23:56:53 +0000 (16:56 -0700)
commitb32c4feb0fc3eb0dce8e1c98f01a45342ff0434c
tree1370796c62ed3897008694bfa7a17e4b2254616d
parent23de25b883ac689625ace272d9d3136a2fc4a375
Add hooks to track which threads belong to which thread pools

Summary:
Keep track of which threads belong to which thread pools for use when debugging.
This will be paired with a gdb script that associates threads with their thread pools

Reviewed By: andriigrynenko

Differential Revision: D5514729

fbshipit-source-id: 57ada4dd1aaaec5d7026e4eee05b0ec4e7434c77
folly/GlobalThreadPoolList.cpp [new file with mode: 0644]
folly/GlobalThreadPoolList.h [new file with mode: 0644]