On 9/29/05 4:40 PM, David Duncan didst favor us with:
> On Sep 29, 2005, at 04:21 PM, Umed Zokirov wrote:
>
>> Asynchronous calls call completion routine after each iteration,
>> that let us display intermediate result in the UI
>
> Yes, but you could call FSCatalogSearch() requesting 1 object as well
> and get similar behavior. Or if you use the Async calls, you could do
> all this on the main thread for similar behavior.
I think what David's getting at is that the async calls already run in their
other thread(s), so there's no point in spawning your own threads to call
them. Call them from the main thread and let them tell you when they have
something for you, or use the synchronous version from a thread and use the
results when they return.
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden