Print threading info for debugging.