Re: Threading - How its done?
Re: Threading - How its done?
- Subject: Re: Threading - How its done?
- From: Karl von Moller <email@hidden>
- Date: Tue, 6 May 2008 23:25:34 +1000
I think you are right. It is the PDF loading that appears to be
causing the crashing. I think your guess on the previous call to the
Thread completing when a new PDF should load is absolutely the
problem. Trouble is I really don't know how to implement the Unique ID
system you speak of. I might have to do some serious reading before
advancing much from here. Any suggested reading or example code I
could look at?
Many thanks.
Karl
On 06/05/2008, at 10:00 PM, Michael Vannorsdel wrote:
I'm guessing clicking table items causes a different PDF to be
displayed. If so I suspect when you click through them quickly
what's happening is a previous call to your thread is completing
when a new PDF is supposed to be displayed and you'll need a way to
cancel the loading of the previous request when a new one is
needed. This could be done by giving each request a unique ID and
having the PDF view discard (or cache off screen for later) replies
for abandoned requests.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden