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

[perl #15358] [PATCH] Make the Regex engine GC-safe

From:
Angel Faus
Date:
July 22, 2002 14:40
Subject:
[perl #15358] [PATCH] Make the Regex engine GC-safe
Message ID:
rt-15358-31020.2.74938152618191@perl
# New Ticket Created by  Angel Faus 
# Please include the string:  [perl #15358]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=15358 >



This patch apparently makes the rx engine behave well with the GC:

It creates a new pmc class PerlReInfo, that is exactly like 
PerlPointer, but with the "mark" method implemented, so the string in 
rxinfo gets doesn't get collected.

-àngel

-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/31020/25999/42a3c8/safe_rx.diff




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