realbasic-nug
[Top] [All Lists]

Re: threads... more

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: threads... more
From: Tom Benson <tombenson at mac dot com>
Date: Fri, 30 Sep 2005 12:36:13 +1000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <D1736EF0-5292-45FB-9EE1-A372FB459084 at accesscomm dot ca> <54AAC638-AB4C-4D1B-B2DB-129806A851A1 at mac dot com> <6C2689AD-765F-48B4-9C57-981AE04D5754 at accesscomm dot ca> <4A2700CB-C712-42CC-B666-C4707C272144 at mac dot com> <11962FEE-D882-4C6A-8E5E-BCB3E88C2012 at accesscomm dot ca>
Have you tried lowering the priority of the intensive thread to yield more time to the main thread??

See thread.priority in the docs..

Cheers,
Tom


On 30/09/2005, at 12:34 PM, Chris Halford wrote:

Because on Windows it is not getting the updates. It prevents normal drawing in the window, and is not letting any timers fire... Fun huh. I can only guess that it is because it is an extremely intensive process going on in the thread.

C.

On Sep 29, 2005, at 8:32 PM, Tom Benson wrote:


I can only assume so.

But, shouldn't your interface be getting updates given that the code is threaded anyway? Why the need to pause the thread if it's only to update the GUI.

- Tom


_______________________________________________
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>


_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>