Stas Bekman <[EMAIL PROTECTED]> writes:

> I've played with it some more. The following program demonstrates some
> So again perl doesn't provide enough public API to properly juggle
> perl interpreters.

I disagree.  The API seems fine to me.

> Suggestions?

Don't mess with PL_curintep or FREE_THREAD_KEY.  These are internal to
perl and this problem should be fixed inside perl.  Assignments to
PL_curinterp or killing the thread key can't be made thread safe
without cooperation with perl itself.

If you need a workaround until this is fixed in perl just link in the
destructor I provided in mod_perl itself.

Regards,
Gisle

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to