Archive :
  May 2006
  June 2006
  July 2006
  July 2007
  August 2007
  April 2008
  June 2008
  December 2008
  January 2009
  March 2009
  June 2009
  January 2010
|
Efficient Way To Fork sub-Processes
Using a fork() system call, followed by an exec() system call is the common way to spawn a sub-process from an application. The fork() call makes a copy of the entire parent process' address space, thus requiring two times the memory used by the parent process.
Solaris 10, provides the posix_spawn(3C) API for an application with large memory requirements to create a subprocess without running out of memory or creating a deadlock. Read more here.
posted by Amandeep 6/02/2006 09:22:00 PM | PERMALINK
 
 
|
|