Re: Concurrent loading of images ?
Re: Concurrent loading of images ?
- Subject: Re: Concurrent loading of images ?
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Fri, 8 May 2020 23:53:53 +0200
> I second the use of GCD. Its also considerably simpler than NSThread,
> NSOperationQueue/NSOperation et al. This is the kind of operation that GCD
> was invented for.
Thanks a lot for your response(s).
To me a queue suggests that you have lots and lots of tasks arriving from the
producer , which you need to buffer in queue, so that the consumer can work on
it one task at a time.
But in my case, I really have just one task, so the queue would - at most -
contain one task at a time.
So, why not start the task right away using NSThread or NSOperation?
_______________________________________________
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