Hi, everybody!
I'm writing a CGI application and am going to use ithreads in order to
reduce execution time. Is it possible with CGI::Fast? I get segmentation
fault every time I'm using threads with CGI::Fast.
Simple demonstration:
[EMAIL PROTECTED] ~]$ cat test.pl
#!/usr/bin/perl -w
require threads;
require CGI::Fast;
my $thr = threads->new( sub {print "I'm a thread.\n"} );
$thr->join();
[EMAIL PROTECTED] ~]$ perl test.pl
I'm a thread.
Segmentation fault
What's wrong? Did I forget something to do?
Also sometimes I get error messages like:
Attempt to free non-existent shared string 'NLS_LANG', Perl interpreter:
0x8a962f0 during global destruction.
Attempt to free non-existent shared string 'HOME', Perl interpreter:
0x8a962f0 during global destruction.
...
Thanks in advance.
Any help, link, etc. will be greatly appreciated.
--
Regards,
Eugene Kosov.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>