Linux is limited to 16 characters for a thread name. I noticed in lldb log messages, and
when I breakpointed in a debugger, the PrivateStateThread showed up as 'main_thread'
added '#if defined (__linux__)' and chose more concise thread name