If you've been wondering what multi-process programming is all about, here's a link to a good online tutorial. This shows the concepts of parallel programming using processes and threads. The articles themselves have nothing to do with Perl, but all the concepts apply. The examples are very simple, and I feel that if you can read Perl, you should be able to read the 'C' examples.
It is my personal conviction that people using these facilities under Perl are served well by having a good understanding of the actual underlying libraries they are built on. This becomes particularly true when chasing race conditions, and the odd data corruption bugs.
I've seen one or two decent tutorials for Perl in the ORA books, but these tutorials are better written, and contain more detailed explanation of what happens, and why.
http://users.actcom.co.il/~choo/lupg/tutorials/index.html
Be aware, Perl does not currently do multi-threading well, but it's perfectly capable of multi-processes.
Also, if you are interested in threads, particularly the Pthreads (a concatentation of POSIX Threads) libraries, the ORA Pthreads Programming book is very good. And for POSIX functionality in general, ORAs POSIX: Real World Programming is a must have.
--Chris
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parallel Processing, Processes, and Threads
by turnstep (Parson) on Mar 15, 2001 at 02:56 UTC | |
|
Re: Parallel Processing, Processes, and Threads
by AgentM (Curate) on Mar 15, 2001 at 01:40 UTC | |
|
Re: Parallel Processing, Processes, and Threads
by casiano (Pilgrim) on May 22, 2008 at 12:41 UTC |