On Mon, May 30, 2005 at 08:45:43PM -, Erland Sommarskog wrote:
> Assuming that I should do better, what is the best way to do better?
I think that you want to define a CLONE method in your package, which
you can use to run the appropriate boot routines in each new thread.
See perlmod.pod
Al
Erland Sommarskog ([EMAIL PROTECTED]) writes:
> Provided, that is, that a C is the right way to use a module in a
> threaded script. So that is my first question: is the script below
> good enough, or should I do better?
One thing is for sure, I could do a better research before I post.
When I c
I find that if I run a script that uses thread and that invokes my XS
module, it works if each thread performs a require on the module, but
if I perform a C first in the script it does not work. (The posted
sample code below runs, but not if I uncomment the use statement and
comment the require an