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

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

Thread Next
From:
Jonathan Sillito
Date:
October 30, 2002 11:43
Subject:
[perl #18166] [PATCH] routines to block and unblock DOD and GC
Message ID:
rt-18166-40823.16.0501772629046@bugs6.perl.org
# 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.
--
Jonathan Sillito


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/40823/32909/f6df3a/block.patch


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About