realbasic-nug
[Top] [All Lists]

Re: what do you actually use threads for?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: what do you actually use threads for?
From: Lennox Jacob <lenpartico at yahoo dot com>
Date: Thu, 31 Jan 2008 05:48:08 -0800 (PST)
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hello,
Can someone please direct me to a simple thread example.
Thanks.
Lennox

James Sentman <james at sentman dot com> wrote: 
On Jan 31, 2008, at 12:36 AM, Dave Shirk wrote:

>
> On Jan 30, 2008, at 2:39 PM, James Sentman wrote:
>
>> So what you're telling me is that at some point over the last 6 or 7
>> years Threads got all fixed up wonderfully and I can actually  
>> consider
>> them a tool I can use now ;) OK I will do that! It used to be that if
>> you touched the interface from a thread horrid things would happen...
>> I shall have to experiment!
>>
>> Thanks,
>> James
>
>
> James,
>
> They are working great for me.  The 3 Threads I created yesterday,
> handle off site data fetches, 1 via TelNet, and the other 2 via
> HTTP.Get.  I need the main GUI interface to stay responsive while
> these fetches take place, and it works great.
>
> Dave Shirk (The Thread about Threads guy ;-)


Hi Dave The Threads Guy ;)

But all networking events about new data still happen in the main  
thread right? And you have to hand that off to your thread for  
processing once you've read it? That is how you used to have to do it.  
But as you've noticed I am not up to speed on all the changes during  
my RB dark period ;) I never stopped using it, but we had children and  
the time I had to experiment with new things kind of disappeared...

Thanks,
  James


James Sentman                       http://sentman.com  
http://MacHomeAutomation.com



_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives:



       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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