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: Philip Regan <rblists at oatmealandcoffee dot com>
Date: Wed, 30 Jan 2008 12:40:24 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <637E97CC-27B0-4CC6-8526-F84F30923F1C at sentman dot com>
On Jan 30, 2008, at 12:27, James Sentman wrote:
>
>
> So what sort of situations do you use threads for?
>

My Simple Cataloger app actually uses a subclassed thread for the  
cataloger engine. Doing so frees up the rest of the interface for  
updating the status log, allowing the user to cancel the cataloger  
itself, and I get better performance out of the engine itself.

I've also written a small MIDI editor that uses another subclassed  
thread for playing the music. Again, it frees up the interface so that  
the user can make edits to notes while the player engine is looping.

HTH
-- 
Philip Regan
http://www.oatmealandcoffee.com
Mac OS 10.5.1, RB2k7r4

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