On Oct-30, Jonathan Sillito wrote: > # New Ticket Created by Jonathan Sillito > # Please include the string: [perl #18166] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18166 > > > > pdd09 mentions routines for blocking and unblocking both GC and DOD, however > I can not seem to find them. Possibly there was a change in plan and the > documentation was not updated? > > Anyway, the attached patch adds the routines (just macros actually) to > dod.h, along with two additional macros Parrot_is_blocked_DOD, > Parrot_is_blocked_GC for testing whether or not they are blocked. > > And changes a small amount of code in: core.ops, debug.c, dod.c, > interpreter.c, list.c, res_lea.c, resources.c, string.c and stacks.c to use > the new routines rather then code like: > > interpreter->DOD_block_level++; > > If this looks ok, please commit.
Makes sense to me. Thanks, applied. (I had to redo the changes, but a global search and replace seemed to work fine.)