Add thread names for easier debugging and profiling
Merge pull request #2729 from federicobond/thread-names

Add thread names for easier debugging and profiling