Boehm, Hans a écrit :
I'm open to changing the thread suspend failure to a warning, which the client 
can arrange to ignore.  I think the required code change to win32_threads.c is 
trivial.  The down side is that this might hide some other errors, but that 
doesn't seem to be a common occurrence.

There is a GC_register_my_thread() function in 7.0+, so it may also be possible 
to do without DllMain().  If so, that may be a better solution, since it's 
portable to non-Windows platforms.

Thanks Hans for the answer.
I didn't know about GC_register_my_thread().

Since on Windows we are distributing Neko together with GC 7.1 (versus Linux where we are using locally-installed libgc package), it's a perfect fit for the problem.

Best,
Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to