more "free to wrong pool"

[email protected] (Dave Dyer)
Newsgroups perl.ithreads
Message-ID <[email protected]>
I've constructed a pretty reproducable program which gets
the "free to wrong pool" error using threads and LWP::Simple.

I've used semaphores to remove concurrency, and tracked
my particular problem into the vicinity of the ->request
method, where I am loth to try to follow it - needless
to say that's where all the complicated stuff happens.

In essence, my pared-down example does nothing except
fire up a bunch of threads, each of which does nothing
but LWP::getstore


-- posted in case anyone has any advice how to avoid
the problem (while still using threads), or in case
anyone needs an nice reliable example of a program
that crashes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.