The program exits unexpectedly
rikki cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Dec 9 01:29:36 PST 2016
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.
More information about the Digitalmars-d-learn
mailing list