[Mono-dev] System.Environment.Exit() stalling
Alfredo José Muela Romero
alfredoj.muela at gmail.com
Fri Jan 30 02:38:25 EST 2009
I'm running Debian sid's version (mono JIT compiler 1.9.1, as well as gmcs
I'll compile, try and give some feedback with the daily version (
2009/1/29 Zoltan Varga <vargaz at gmail.com>
> Which mono version are you using ? Please try with at least mono
> 2.0, previous versions
> have known shutdown problems.
> 2009/1/29 Alfredo José Muela Romero <alfredoj.muela at gmail.com>:
> > Hi everyone,
> > I'm developing an application in C# which uses a C++ library (apparently
> > successfully wrapped via SWIG) where some threads are involved.
> > The point is that as the main thread (the one running the main) reaches
> > end, it is confirmed that the created threads are already ended, the GC
> > seems right (after a System.GC.WaitForPendingFinalizers) but it stalls at
> > the System.Enviroment.Exit(0) to never come back and end the application.
> > Any ideas about the possible reasons for the System.Environment.Exit not
> > coming back? How could I dig in more to check it?
> > As an additional info, the Ctrl+c signal works well by ending the app and
> > returning control to the shell. Therefore, I guess the application has a
> > "civic" way of quiting.
> > Thanks in advance,
> > Alfredo.
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list