in reply to Isolating dynamically loaded modules with Thread::Isolate.

I don't understand why you have two different variables, $thi and $job, for the same isolated thread. Does this imply you can run two different jobs in the same $thi at the same time? If not, why are there two variables?

Because now, it's far from clear to me when to use $thi, and when to use $job, for example, why I have to use $thi->err and not $job->err.

Replies are listed 'Best First'.
Re^2: Isolating dynamically loaded modules with Thread::Isolate.
by gmpassos (Priest) on Jan 29, 2005 at 22:21 UTC
    Inside the thread I have a list of jobs, I can create many jobs, have the reference for them, than wait to have them executed. But note that this jobs will be executed one by one.

    Graciliano M. P.
    "Creativity is the expression of liberty".