3 ms·
How is this different from Apple's Grand Central Dispatch aka libdispatch? Based on my superficial understanding they appear to be quite similar.
by kccqzy 3y ago
How is this different from Apple's Grand Central Dispatch aka libdispatch? Based on my superficial understanding they appear to be quite similar.
- krackers 3y agoYeah 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.
- brcmthrowaway 3y agoIs GCD eveb used anymore?
- deleted 3y ago[deleted]
- krackers 3y agoIt's used everywhere on osx?
- crest 3y agoGCD does a lot more.