Linked by Thom Holwerda on Thu 1st Feb 2007 14:28 UTC, submitted by BlueVoodoo
General Unix "The UNIX operating system provides a rich set of features that allows processes to communicate with each other. Known as Inter-Process Communication, you can use this communication method to reconfigure an application at run time or to share data between different processes that are running in parallel. This article teaches you how to identify the methods that applications can use to communicate with each other, select the most appropriate method for your application, and begin your implementation."
Permalink for comment 208022
To read all comments associated with this story, please click here.
Multi-Process vs. Multi-Threaded
by phoehne on Thu 1st Feb 2007 15:26 UTC
Member since:

A lot of people assume if you need to run two tasks in parallel that multi-threading is always superior to multi-processing. Sometimes it's easier to write more secure and robust solutions that use multiple processes, or to fork a process as needed to handle a task. I know I'm guilty of heading for pthreads without first really thinking about the best solution to the problem.

Reply Score: 3