[Mono-dev] Stop Garbage Collection for a Codeblock

Andreas Nahr ClassDevelopment at A-SoftTech.com
Thu Mar 8 04:21:54 EST 2007

Using the fixed keyword you can prevent the collection of a memory block,
however I’m not sure this is what you’re looking for.

Also I fail to see how this (by itself) could possibly help with
time-critical parts.






Von: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Back,
Michael (ext)
Gesendet: Donnerstag, 8. März 2007 10:06
An: mono-devel-list at lists.ximian.com
Betreff: [Mono-dev] Stop Garbage Collection for a Codeblock



Is it possible to stop the GC for garbage collecting for a code block? 
This would be helpful for time critical parts. 

I think about something like gc_barrierer_on and gc_barrierer_off. 

If such possibility doesn't exists, may be it could implemented and improve
mono :-) 

With best regards 
Michael Back 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070308/30c1a4b8/attachment.html 

More information about the Mono-devel-list mailing list