It does init a gc. >From the mono-gc.h header: void mono_gc_collect (int generation);
On Tue, Sep 14, 2010 at 6:52 AM, petermonsson <[email protected]> wrote: > > Hi all, > > I'm trying to figure out what I'm doing wrong when using a C# Assembly from > C. I suspect I'm screwing up some gchandle stuff since the documentation on > gchandle isn't very clear. So I want to make the gchandle stuff work with a > small program, but small programs don't always execute long enough to make > the garbage collector kick in, thus I would like to invoke the garbage > collector manually. > > They question is: Does mono_gc_collect actually invoke the garbage > collector, and what is the function prototype? > > The documentation isn't of much help: > > http://go-mono.com/docs/monodoc.ashx?tlink...@xhtml%3adeploy%2fmono-api-gc.html > > Thanks in advance > Peter > -- > View this message in context: > http://mono.1490590.n4.nabble.com/What-does-the-C-method-mono-gc-collect-do-tp2538722p2538722.html > Sent from the Mono - General mailing list archive at Nabble.com. > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
