Hacker News new | ask | show | jobs
by krackers 829 days ago
Yeah to me they seem to fill a similar/same niche, both are implementations of dispatch queues. cr_task_run_sync mapping to dispatch_sync and cr_task_wait_request_signal + cr_task_run mapping to dispatch_async. This library seems to be slightly more low level in that by default you have to explicitly "run" the task whereas with GCD blocks are scheduled and run as soon as you enqueue them.

GCD is a lot more heavyweight though (but it brings a lot of niceties), whereas this is going to be much more portable.

1 comments

Is GCD eveb used anymore?
It's used everywhere on osx?