On Sep 23, 2006, at 7:02 PM, Joe Huber wrote:

FWIW I just found the bug report for this...looks like it's been fixed.
http://www.realsoftware.com/feedback/viewreport.php?reportid=hbfyzxyg

Joe

Date: Sat, 23 Sep 2006 18:56:31 -0700
To: REALbasic Mailing List <[email protected]>
From: Joe Huber <[EMAIL PROTECTED]>
Subject: Why do Threads stall unless mouse is moving

I have a user reporting that threads in my app are stalling unless she constantly moves the mouse.

I remember seeing this discussed on the list in the past but I can come up with the right search terms to find it in the archives.

Anyone remember what the cause or fix was, or how to find it in the archives?

This was mentioned by Joe and other back in September. I also saw this with 2006r4, but thought that we'd resolved it by uncovering a pair of Timers that were attempting to update the same progressbar resulting in a potential spinlock situation. However, I've just had reported by two different users in the same morning that the stall still occurs in the latest BETA build of one of our apps. The stall does not occur when the app is run in the IDE or if built with 2006r2.

At first, we thought that it was related to threads, but this app uses and more top-down process mode, so not threads are involved. Basically, a long-process shell execution occurs (unloading a tape from a drive in a library, returning it to its slot, and then loading the next tape. The procedure can take anywhere from 3 to 8 minutes depending on the tape drive and library type. During this process, I display a "Standby" dialog with a ProgressWheel and a timer that fires every 1500MS and simply executes x = rnd * 323232. The timer was added based on the discussion that had occurred with Joe Huber's original query to the list. The ProgressWheel continues to spin even when the app is stalled. As soon as the mouse is moved or a keystroke occurs, the app resumes.

I've requested that the report be reopened. Please add yourself if you're also witnessing unexpected stalls.

        http://www.realsoftware.com/feedback/viewreport.php?reportid=hbfyzxyg

Tim
--
Tim Jones
[EMAIL PROTECTED]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to