Hi Jerry,
please elaborate, exactly what is not thread safe in Tie::Cache and why should it be clear to me by citing a generic manual page as a whole?
The only paragraph that talks about thread safety in the cited pod is:
Thread-safe modules
See "Making your module threadsafe" in perlmod when creating modules
that may be used in threaded applications, especially if those
modules use non-Perl data, or XS code.
However I don't see any non-Perl data or XS code in Tie::Cache. It is just a hash together with a doubly linked list, which of course contains circular references.
Under "Making your module threadsafe" in perlmod I only see talk about non-Perl data again.
Ralf
Show quoted text> -----Original Message-----
> From: Jerry D. Hedden via RT [mailto:bug-threads@rt.cpan.org]
> Sent: Friday, July 25, 2014 9:14 PM
> To: Neubauer, Ralf
> Subject: [rt.cpan.org #97510] Tie::Cache together with threads crashes perl
>
> <URL:
https://rt.cpan.org/Ticket/Display.html?id=97510 >
>
> On 2014-07-25 14:59:10, Ralf.Neubauer@wido.bv.aok.de wrote:
> > Hi,
> >
> > rt.cpan.org #97508 may be a bug in the threads implementation.
> >
> > Ralf Neubauer
>
> The issue is that Tie::Cache is not threads safe. See 'perldoc threads' for more.
>