[bitcoin/bitcoin] Thread names in logs and deadlock debug tools (take 2) (#13168)

Changed with more feedback from @sipa.

[`jamesob/threadnames2.4` -> `.5`](https://gist.github.com/jamesob/5604eb4586f8eb3401659566e17632f8)

This post was last modified on May 7, 2018, 7:07 pm