Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

remarks WRT clone

0 views
Skip to first unread message

Leopold Toetsch

unread,
Dec 17, 2003, 4:59:24 PM12/17/03
to P6I
In former days and before YAPC::EU I changed the original clone vtable,
which was IIRC:
PMC* clone() # return new clone of pmc
to the now existing form, which gets an uninitialized destination PMC.
This change was at that time necessary because of reasons described in
F<docs/dev/infant.dev> keyword "Variant 2: Anchor early, anchor often".

This is solved, stackwalking during DOD works, so /me thinks, that we
can use again the original signature of the clone vtable. This does also
simplify switching clone to Parrot_clone (the real and final clone via
freeze/thaw), which just happens to return a newly created PMC.

leo

Dan Sugalski

unread,
Dec 18, 2003, 9:16:24 AM12/18/03
to Leopold Toetsch, P6I

Works. Go for it.
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
d...@sidhe.org have teddy bears and even
teddy bears get drunk

0 new messages