in reply to Re^2: Proper undefine queue with multithreads
in thread Proper undefine queue with multithreads
Would that still be doable with the normal way you just explained?
Yes. But you're going to have to explain what output you get from this "omnidb" command; because I've never heard of it.
Would you mind showing a small example?
Given that your example code is incomplete, which leaves us none the wiser as to and how a whole bunch of global variables used by pullDataFromDbWithDirectory() -- eg. $itemCount, $maxNumberOfItems, $omnidb, $filesystem, $label, @data -- are initialised/used, it would require gobs of time and guesswork to try and construct a working example.
Post your full code.
Post a sample output from the command.
Explain what you are going to do with the list of files you are building in @data.
Then maybe we stand a chance of helping you.
BTW: Ignore/downvote both existing and any further replies you get from sundialsvc4. He has no working knowledge of using Perl's threading and has a history of posting long, rambling, always useless, often dangerous "suggestions".
He even knows this: " Clearly, none of my suggestions would apply to this particular case. ", but he continues to waste everyones time by posting these useless, over generic replies on subjects that he has been proven, time & time again, to have no first hand knowledge.
Why? I think the poor ol' thing is getting so senile that he genuinely forgets that he's only regurgitating things he's read rather than his own experiences. Sadly, whilst he seems to be able to retrieve odd snippets of generally good advice; he always seems to forget the correct context, rendering them useless.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Proper undefine queue with multithreads
by sanc (Initiate) on Jun 04, 2014 at 05:56 UTC | |
by BrowserUk (Patriarch) on Jun 05, 2014 at 12:55 UTC | |
by sanc (Initiate) on Jun 05, 2014 at 13:44 UTC | |
by BrowserUk (Patriarch) on Jun 05, 2014 at 14:33 UTC | |
by sanc (Initiate) on Jun 06, 2014 at 07:22 UTC | |
| |
by ikegami (Patriarch) on Jun 05, 2014 at 18:54 UTC | |
| |
by sanc (Initiate) on Jun 06, 2014 at 06:57 UTC | |
by BrowserUk (Patriarch) on Jun 05, 2014 at 14:24 UTC |