daverave has asked for the wisdom of the Perl Monks concerning the following question:
I have a few subroutines in an object. I want to speed things up and run things concurrently, if possible.
(you got the idea...)sub_1 can run immediately sub_2 can run immediately sub_3 can run only after sub_1 finishes sub_4 can run only after sub_1 finishes sub_5 can run only after sub_2 finishes sub_6 can run only after sub_2 finishes sub_6 can run only after both sub_1 and sub_2 finish sub_7 can run only after both sub_1 and sub_2 finish
Now, I don't know how to put this logic into work. Any suggestions would be appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: multithreads newbie question
by roboticus (Chancellor) on Aug 10, 2010 at 12:46 UTC | |
by BrowserUk (Patriarch) on Aug 10, 2010 at 12:54 UTC | |
by daverave (Scribe) on Aug 10, 2010 at 13:24 UTC | |
|
Re: multithreads newbie question
by BrowserUk (Patriarch) on Aug 10, 2010 at 12:51 UTC | |
by roboticus (Chancellor) on Aug 10, 2010 at 13:01 UTC | |
by BrowserUk (Patriarch) on Aug 10, 2010 at 13:13 UTC | |
by roboticus (Chancellor) on Aug 10, 2010 at 13:51 UTC | |
by daverave (Scribe) on Aug 10, 2010 at 13:21 UTC | |
by BrowserUk (Patriarch) on Aug 10, 2010 at 13:46 UTC | |
by daverave (Scribe) on Aug 10, 2010 at 14:08 UTC | |
by BrowserUk (Patriarch) on Aug 10, 2010 at 16:07 UTC | |
|
Re: multithreads newbie question
by ikegami (Patriarch) on Aug 10, 2010 at 14:24 UTC | |
by daverave (Scribe) on Aug 10, 2010 at 14:37 UTC | |
by daverave (Scribe) on Aug 10, 2010 at 15:27 UTC | |
by ikegami (Patriarch) on Aug 10, 2010 at 15:44 UTC | |
by daverave (Scribe) on Aug 10, 2010 at 17:27 UTC | |
| |
by daverave (Scribe) on Aug 11, 2010 at 15:26 UTC |