in reply to sharing datas between threads/forks (?)

Load the 1.5Gig data and then fork. That way, each child will have the data. The data will be copied when a child writes to it, so it's best not to write to that data unless it's absolutely necessary.

  • Comment on Re: sharing datas between threads/forks (?)

Replies are listed 'Best First'.
Re^2: sharing datas between threads/forks (?)
by gamache (Friar) on Apr 08, 2008 at 13:45 UTC
    Is there some magic going on behind a curtain, such that parent data isn't really copied until the child alters it?