Created
November 28, 2013 10:36
-
-
Save zhangwc/7690000 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 后台进程(优先级最低) | |
| dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{ | |
| }); | |
| // 更新界面(优先级最高) | |
| dispatch_async(dispatch_get_main_queue(), ^{ | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment