B
Brandon Casci
I have a script that sets a few variables and then forks. Each fork
executes the script from top to bottom. Is there any way for the forks
to get a copy of all the variables set before the fork, because each
fork thinks it;s running for the first time (and ya I see why because a
fork is a copy of the current process)?
Maybe forking isn't what I'm looking for, but the performance is so much
better than threading for this task.
Thanks for reading.
executes the script from top to bottom. Is there any way for the forks
to get a copy of all the variables set before the fork, because each
fork thinks it;s running for the first time (and ya I see why because a
fork is a copy of the current process)?
Maybe forking isn't what I'm looking for, but the performance is so much
better than threading for this task.
Thanks for reading.