in reply to Threading: ActiveState Perl 5.8.0
My build is for Ithreads - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Threading: ActiveState Perl 5.8.0
by P0w3rK!d (Pilgrim) on May 16, 2003 at 15:54 UTC | |
Correct. But why does it say this: archname=MSWin32-x86-multi-thread and say this: ... usethreads=undef use5005threads=undef useithreads=define... Is usethreads=undef correct? The use5005threads is for the experimental threading model for Perl 5.005. The threading model for 5.8.0 is different from that. I do not know what useithreads is for.
I am trying to determine if my version is built "correctly" with the correct threading model as I am having problems with shared variables. I apologize for not being more verbose in my initial post.
-P0w3rK!d :)
Full output:
| [reply] [d/l] [select] |
by Limbic~Region (Chancellor) on May 16, 2003 at 19:53 UTC | |
I am pretty sure your particular build is fine (use threads; doesn't gack right?), even though your install or particular attempt at threading might not be. From the install docs: Perl Environment Variables: if Perl environment variables such as PERLLIB, PERL5LIB or PERL5OPT have been set on your system, you should unset them before installing ActivePerl. Otherwise, these variables may cause incompatible versions of Perl modules to be used during the installation process. I also took a look at the Release Notes. It indicates that there is a problem with the emulated fork if the extension isn't thread safe. I examined the diff file from the standard install to what got compiled for ActiveState - IThreads are in there. Finally - I found this article, with examples, quite interesting by Jenda. I would recommend supplying the code and asking for more help. Cheers - L~R | [reply] |