Using dispatch_async

1 dispatch_async(dispatch_get_main_queue(), ^{
2         //do some thing in Main_UI_Queue
3         });
4 
5 dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
6         //do some thing in BackGround_Queue
7         });

 

posted @ 2013-03-24 19:02  playerc  阅读(127)  评论(0编辑  收藏  举报
c4io.com Count Visitors
Web Counter