Bug in event loop ??

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in event loop ??

Chris Uppal-3
Hi,

I noticed this while trying to find, or at least localise, whatever it is that
is making my current image(s) wildly unstable (I've rebuilt it several times,
even done a fresh download, but still am apt to find myself with an image which
can't even do a GC without errors after any moderately intensive task.   I
suspect a machine problem, but can't yet locate it, and it only affects
Dolphin...).

Anyway, the following script will (on my W2K machine) peg the CPU at 100%
during the first 10 second sleep, but not during the second.  I think that must
be a bug.

-------------------------------
Transcript display: Time now; display: ' sleeping...'; cr; flush.
Processor sleep: 10 * 1000.
Transcript display: Time now;  display: ' ...slept'; cr; flush.
MessageBox notify: 'Just press OK'.
Transcript display: Time now; display: ' sleeping again...'; cr; flush.
Processor sleep: 10 * 1000.
Transcript display: Time now;  display: ' ...slept'; cr; flush.

-------------------------------

Select it all and evaluate it all in one doIt.

    -- chris


Reply | Threaded
Open this post in threaded view
|

Re: Bug in event loop ??

Blair McGlashan
"Chris Uppal" <[hidden email]> wrote in message
news:[hidden email]...
>...
> Anyway, the following script will (on my W2K machine) peg the CPU at 100%
> during the first 10 second sleep, but not during the second.  I think that
must
> be a bug.
>

Thanks Chris, we will investigate. The CPU hogging when the main UI process
blocks (when the second sleep happens the active process will no longer be
the main UI process because of the message box) is unexpected, but I
wouldn't think it the cause of any system instability you are experiencing.

Regards

Blair