Elizabeth Mattijsen <[EMAIL PROTECTED]> wrote: > At 10:40 +0100 1/28/04, Leopold Toetsch wrote: >>$ time parrot shared_ref.pasm >> >>real 0m0.375s
> Ah.. I want a Ponie! ;-) Actually some bits are still missing: - The SharedRef construction code has to ensure that the refered PMC is shared too (~ one more vtable call) - The locking code around the shared variable access has to install a local exception handler (get a C<jmp_buf> off a free_list, C<set_jmp>), so that in case of an internal exception the mutex can be unlocked before re-throwing the exception. But it should be pretty fast still... > Liz leo