pass the thread name to the OS if possible