On 09/12/2016 10:26 PM, unDEFER wrote:
Hello! I'm starting port my program to Windows _without_ Cygwin and found big trouble. My main thread exits unexpectedly without any diagnostic messages. The second thread still lives when it happens. The visual studio debugger say that thread exits with code 2. What it maybe?
An exception/error might be thrown, try catching Error's in the threads function.
Also try adding an infinite loop to it.