On Mar 26, 2014, at 2:48 PM, Kyle Sluder <k...@ksluder.com> wrote:

> If you want to delay something for later, you should probably use 
> dispatch_after.

I’d love to, except that background threads don’t correspond to dispatch 
queues. People who are [still] using NSThreads should be able to use this 
library.

(That includes the library itself, actually. It runs a background NSThread of 
its own for some operations. I tried to convert all of this to GCD two years 
ago but ran into some really frustrating issues due to pieces of Cocoa not 
agreeing on which concurrency API to use. For example, I use a _lot_ of 
NSURLConnection, which doesn’t support dispatch queues, only runloops and 
NSOperationQueues. And I also use CFStream/NSStream, which only supports 
runloops. I started a lengthy thread here about this last year, if you recall.)

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to