in reply to Re^3: detach for threadsin thread detach for threads
Yes. In this case however, the program exits, before the thread gets a chance to run, so no output, and no errors