|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
regular expression hanging inside a child threadby dxxd116 (Beadle) |
| on Apr 17, 2009 at 09:42 UTC ( #758155=perlquestion: print w/ replies, xml ) | Need Help?? |
|
dxxd116 has asked for the
wisdom of the Perl Monks concerning the following question:
Hello, Monks:
I have been stuck by this problem for a few days. I have a somehow complicated regular expression inside a child thread in a multi-threaded program. When the text to be matched($string) is a little over 1 Megabytes, this regexpression runs forever and never return. But when I run a single-threaded version of the same program, it works perfectly fine(The regex returns instantly). I am wondering whether there are some settings or limits imposed on the child thread of a multi-threaded program. Could anyone here enlight me on that? I am running ActiveState Perl 5.10.0 on Windows Platform. Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||