Request for backport of garbage collection patch
"Matt Jones" <[email protected]> Tue, 17 Jul 2007 16:54:34 -0700
| Newsgroups | gmane.comp.gnome.mono.devel,gmane.comp.gnome.mono.garbage-collection |
|---|---|
| Message-ID | <[email protected]> |
Hi - I'm working on improving mono-under-wine (on the wine side), and I've been hitting a bug in the mono garbage collector fixed by commit #77073 ([1]). The bug in question is a race condition between GetExitCodeThread and SuspendThread - if a thread terminates between the two, SuspendThread will fail. The race condition is pretty reliably triggered by the regression test suite when running under wine. The current patch could actually be reduced further (the GetExitCodeThread block could be fully deleted, as it is rendered redundant), but it works as is. Any chance this patch could be applied to the maintenance branch? The patch applies cleanly to 1.13.8.2. Thank you very much, -Matt Jones [1] http://anonsvn.mono-project.com/viewcvs/trunk/mono/libgc/win32_threads.c?rev=77073&view=log