CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
How to use threads in perl module with handler in 'external' module

 



appetitto
Novice

Sep 11, 2012, 8:55 AM

Post #1 of 2 (1180 views)
How to use threads in perl module with handler in 'external' module Can't Post

Hi Experts,

Before I will ask my question I have to explain a bit logic of my module. I have got 2 modules :

Smaller one (let's call it A) where I have method add_stuff and bigger (let's name it B). A logic of module B is a bit complicated. There is a lot of methods etc...in a few places this module calls method add_stuff from module A. Generally, it happens more or less 1 million times.

Now, I would like to add threads into my module A. I do not want to change module B. Is it possible? I am looking for something like handler for method add_stuff.

Could you give me any solution?

Thanks in advance
Alex


vijayayarra
Novice

Sep 13, 2012, 3:34 AM

Post #2 of 2 (1161 views)
Re: [appetitto] How to use threads in perl module with handler in 'external' module [In reply to] Can't Post

I completly don't get your question but when it coes to thread perl fork manager would be best option.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives