[Mono-devel-list] Stopping the GC inside program?

Nigel Benns nigel_benns at rogers.com
Thu Dec 30 06:20:12 EST 2004


OK, I've figured out more on my problem, but I would just like to know if
there is anything I can do about this.

The low-down thus far:

Importing a lib (Ecore) that hooks SIGPWR.
When I initiate the function that hooks it(ecore_init()), everything runs
fine, except that the program doesn't exit. It just sits there.

I found out if I 'export GC_DONT_GC="blah"' to turn off the garbage
collector before I run the program everything works fine.

Is there a way that I can turn off the garbage collector inside the
program(not really what I want) or if there is a "Nicer" way of hooking
SIGPWR that would work with Mono?

I believe Ecore actually uses SIGPWR for its own garbage collector to
clean out memory held by the libs.



More information about the Mono-devel-list mailing list