Re: [Gc] Re: Win32 hang with MPROTECT_VDB
ivmai at mail.ru
Fri May 22 01:30:39 PDT 2009
Today I wrote:
> "Boehm, Hans" <hans.boehm at hp.com> wrote:
> > I just checked in a patch to os_dep.c and win32_threads.c.
> 2. win32_threads.c: GC_start_world():
> UNPROTECT(t) should also be added for GC_win32_dll_threads case.
Only if the answer for Q at 3 is Yes.
> 3. Q: should we unprotect also non-heap pages (eg. before changing last_info, marker_last_stack_min)?
> 4. win32_threads.c: GC_get_next_stack():
> UNPROTECT(some_t) should also be added for (see the patch in my next post):
> /* Remember current stack_min value. */
> *plast_stack_min = *lo;
5. win32_threads.c: declaration and use of GC_fault_handler_lock should be guarded with defined(MPROTECT_VDB) && !defined(MSWINCE).
> > Hans
More information about the Gc