博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

2013年3月31日

摘要: Grand Central Dispatch (GCD)是Apple开发的一个多核编程的解决方法。dispatch queue分成以下三种:1)运行在主线程的Main queue,通过dispatch_get_main_queue获取。/*!* @function dispatch_get_main_queue** @abstract* Returns the default queue that is bound to the main thread.** @discussion* In order to invoke blocks submitted to the main queue, 阅读全文

posted @ 2013-03-31 00:47 扬名 阅读(147360) 评论(15) 推荐(16) 编辑