in reply to Re: Multithreading and DBI
in thread Multithreading and DBI

I want something like this. Hope this is clean.

                           |
| MAIN PROCESS
|
V
-------------------------------------------------
| | | |
| | | |
----- ----- ----- -----
| 1 | | 2 | ....................... | 5 | | 6 |
----- ----- ----- -----
Thread Thread Thread Thread
One Two Five Six

Replies are listed 'Best First'.
Re^3: Multithreading and DBI
by ikegami (Patriarch) on Sep 21, 2005 at 15:34 UTC
    I know. I suggested something which is faster to code, less error prone due to the smaller code size, much more maintainable, and more reliable given the state of threads in Perl.
Re^3: Multithreading and DBI
by zentara (Cardinal) on Sep 22, 2005 at 10:23 UTC
    Don't use threads unless you need to share data between threads. Fork and exec is simpler and faster for data independent processes.

    I'm not really a human, but I play one on earth. flash japh