help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Funny Delay timer bug with image suspend and resump


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Funny Delay timer bug with image suspend and resumption
Date: Wed, 21 Sep 2011 23:42:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

On 09/21/2011 11:22 PM, Paolo Bonzini wrote:
> On Wed, Sep 21, 2011 at 19:24, Holger Hans Peter Freyther
> <address@hidden> wrote:
>> Hi,
>>
>> thanks to yours and Gwenael's work I move from screen/gst to image and
>> gst-remote. Today I have found a funny bug and look for some hints.
> 
> So you want the value of the millisecond clock to be restored when you
> resume a snapshot?  Makes sense.

but there must be more to this. E.g. even if I save the image near millisecond
clock of 0... the task does not run..


$ cat cat foo.st
Eval [
        Time millisecondClockValue printNl.
        Smalltalk at: #FOO put: [
        [(Delay forSeconds: 3) wait. Time millisecondClockValue printNl] 
repeat] fork.

        ObjectMemory snapshot: 'foo.img'.
        stdin next
]


$ gst -i foo.st
"Global garbage collection... done"
0
"Global garbage collection... done"
3001
6001
^CObject: FileStream new "<-0x4c82c6a0>" error: interrupted!!!
...
UndefinedObject>>executeStatements (foo.st:7)

$ gst -I foo.img
GNU Smalltalk ready

st> stdin next
nothing even if the millisecond clock should pass nicely,


i will spend the next half an hour on it and maybe I find something...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]