Saving the image in the background
Damien Cassou
damien.cassou at laposte.net
Mon Jul 31 18:01:46 UTC 2006
Damien Cassou wrote:
> I would like to know if the following code is safe:
>
> [SmalltalkImage current snapshot: true andQuit: false]
> forkAt: Processor userBackgroundPriority
>
> Is there any problem if the main process modifies something in the same
> time ?
I'm sorry not having been clear enough. I just wanted to save the image
when a user modify the model. To avoid a long delay for him, I wanted to
use a fork.
But it seems this was not a good idea.
My solution is to remove the fork and let the user wait some seconds :-)
Thank you for all your explanations
More information about the Squeak-dev
mailing list
|