in reply to Re^6: Problem in Inter Process Communication
in thread Problem in Inter Process Communication
I completely agree with BrowserUk. A much simpler approach can be used, and the one he proposes sounds good (not that he needs me to say that).
just a couple more notes, if by "multiple queries", you mean multiple actions on the same server, just pass yourself in an array of the actions you need to perform as part of the queue.
on that note, to even further simplify, you could actually get away with avoiding all mutex's, locks, etc, by setting up an output queue, and pushing all the results into it thus only the scripts main portion (thread 0) is accessing the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Problem in Inter Process Communication
by BrowserUk (Patriarch) on Aug 21, 2008 at 11:54 UTC | |
by libvenus (Sexton) on Aug 22, 2008 at 08:29 UTC | |
by BrowserUk (Patriarch) on Aug 22, 2008 at 08:49 UTC |