Robert Jordan wrote: > > Mono/Win32 cannot be linked statically because it relies on Boem GC > to register threads, but Boem cannot register threads w/out > GC_INSIDE_DLL and DllMain. > I see, but instead of relying on GC_DllMain() could I explicitly call GC_new/delete_thread() when I create/delete threads (directly with win32 CreateThread(), not with GC_CreateThread) that needs to use the GC?
I also noticed that GC_CreateThread() seems to call GC_new_thread() already anyway to register threads and infact threads created by the function seems to be double registered to due to DllMain() registration. Thanks, Jarkko -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-static-library-tp3546774p3548089.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
