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: Thu, 22 Sep 2011 00:25:00 +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:42 PM, Holger Hans Peter Freyther wrote:

Hi,

I am not sure about the right/nice semantic. Should (Delay forSeconds: 3)
wait, sleep three seconds of image time? of real time passed in the world? I
wouldn't mind if all timers fire... (famous last words).

So what appears to happen is:
        - (Delay forSeconds: 3) wait, will make the
          Delay>>#handleDelayRequestor call

          Processor signal: TimeoutSem atMilliseconds: nextTick
        -> VMpr_Processor_signalAtMillisecond
         -> _gst_async_timed_wait,
          -> _gst_async_interrupt_wait
          -> _gst_signal_after

What I guess:
        - We forget about this semaphore waiting for the VALARM to fire off,
          we don't store the _gst_sem_int_vec..


What I'm missing:
        - I still miss the code that puts the Process into sleep because it is
waiting for a semaphore, I kind of assume...



reply via email to

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