On 05.11.2010 08:03, Fede wrote: > Hi! > > I'm embedding Mono 2.8 in one of my Windows applications and noted that this > document "http://www.mono-project.com/Compacting_GC" says that one must call > mono_gc_register_thread(). > Now, the question is: what kind of parameter does this function expect? Is > it GetCurrentThread() or is it GetCurrentThreadId()?
This is most likely a bug in the documentation because mono_gc_register_thread () is an internal function. You should be calling mono_thread_attach(MonoDomain*) from the corresponding thread. Robert _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
