Sorry for not correct thread title. I dont need save image in background while all system continue work. I just want save image from my smalltalk process. And when I do this I sometimes cant restart image (it crash due to some world cycle activity and freetype plugin failure). But when I save image manually I never see that situation. Maybe somebody know why this happen? And how I must save image from some smalltalk process correctly? 2010/7/23 Lukas Renggli <renggli@gmail.com>
But How I can do that without fork? I track changes in another process and when I do update I save image in this process. How I can initiate image saving from ui process?
I don't understand what you are saying.
The thing is that using #fork to save the image has no effect (other than wrecking the image), because #snapshot:andQuit: is eventually calling a primitive that locks the complete VM anyway.
If you want to fork while saving the image you need to use an OS-level fork, not a Smalltalk-level fork. You can do this with OSProcess for example (check the Seaside mailing-list archive).
Lukas
-- Lukas Renggli www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project