LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cache::FastMmap does not support threads sorry at /usr/lib/perl5/ (https://www.linuxquestions.org/questions/linux-newbie-8/cache-fastmmap-does-not-support-threads-sorry-at-usr-lib-perl5-674736/)

maheshollalwar 10-07-2008 12:48 AM

Cache::FastMmap does not support threads sorry at /usr/lib/perl5/
 
Hi,

I'm getting below error in httpd error logs, when i run a perl script
which uses Cache::FastMmap

Cache::FastMmap does not support threads sorry at /usr/lib/perl5/
site_perl/5.8.5/i386-linux-thread-multi/Cache/FastMmap.pm line 1134

can anybody please suggest.

Thanks.

chrism01 10-08-2008 08:16 PM

Sounds like its not possible to share Cache::FastMmap objects across threads. Not all Perl modules are 'thread-safe' yet...
What you can probably do is have separate Cache::FastMmap objects inside each thread (non-shared).
For a more detailed explanation ask the gurus at www.perlmonks.org.


All times are GMT -5. The time now is 09:07 AM.