Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Isolating dynamically loaded modules with Thread::Isolate.

by bart (Canon)
on Jan 29, 2005 at 22:19 UTC ( #426301=note: print w/replies, xml ) Need Help??


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".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://426301]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-04-12 23:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?