develooper Front page | perl.perl6.internals | Postings from May 2008

[perl #45975] [TODO] [PATCH] Make Parrot_single_subclass() threadsafe

Thread Previous | Thread Next
From:
NotFound
Date:
May 7, 2008 16:13
Subject:
[perl #45975] [TODO] [PATCH] Make Parrot_single_subclass() threadsafe
>  In src/objects.c:Parrot_single_subclass() there is the todo item:
>
>  /* XXX not really threadsafe but good enough for now */
>
>  This needs to be made threadsafe.

This ticket can be closed, as Parrot_single_subclass was dead code and
has been removed.

Looking a this, I discovered that the subclass function in default.pmc
contains a call to Parrot_single_subclass, but this function is not
present in default.c and there is no error nor warning about that
fact. Is this a behavior expected?

Anyway, the attached patch removes it.

-- 
Salu2


Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About