Saving the image in the background

John M McIntosh johnmci at smalltalkconsulting.com
Sun Jul 30 21:37:14 UTC 2006


With the mac carbon 3 .8.12 series of VMs you can call any unix DLL  
you have handy. Thus if you
have a Unix OSX version of the OSPP you can just use that, no need to  
compile a *.bundle.


On 30-Jul-06, at 8:25 AM, David T. Lewis wrote:

> On Sun, Jul 30, 2006 at 03:04:58PM +0200, Philippe Marschall wrote:
>>
>> If you have OSProcess you can fork the image (search the mailinglist,
>> Avi once asked about this). I don't know if this now works on Mac OS.
>> Also pay attention that if you have two forked images at the same
>> time, that they don't write into the same image file (if you want to
>> use it for Pier). Otherwise you might end up with a corrupted image
>> file.
>
> This is done by evaluating "UnixProcess saveImageInBackgroundNicely".
> The image will be saved by a copy of your Squeak image running in a
> separate OS process at low priority, with little or no impact on your
> main Squeak process.
>
> It should also work on OS X if you are using the unix VM for OS X that
> supplies the OSPP plugin (I would appreciate if someone can confirm
> this). It might also work on the regular Mac VM if you compile your
> own OSPP plugin, but I'm not sure of this.
>
> Dave
>
>

--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===





More information about the Squeak-dev mailing list