Created
November 11, 2011 04:44
-
-
Save faultier/1357216 to your computer and use it in GitHub Desktop.
This file contains 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
#import <Foundation/Foundation.h> | |
int main(int argc, char **argv) { | |
@autoreleasepool { | |
dispatch_queue_t queue = dispatch_queue_create("sake", DISPATCH_QUEUE_SERIAL); | |
dispatch_apply(12, queue, ^(size_t m){ | |
NSLog(@"%lu月はObjective-Cで酒が飲めるぞー!酒が飲める飲めるぞー!酒が飲めるぞー!", m+1); | |
}); | |
dispatch_release(queue); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment