develooper Front page | perl.perl6.internals | Postings from November 2002

Re: [perl #18166] [PATCH] routines to block and unblock DOD and GC

Thread Previous
Steve Fink
November 5, 2002 21:03
Re: [perl #18166] [PATCH] routines to block and unblock DOD and GC
Message ID:
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: >
> 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.)

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About