Skip to content

Commit

Permalink
Snippet fixed.
Browse files Browse the repository at this point in the history
Snippet for dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, DISPATCH_TARGET_QUEUE_DEFAULT) fixed.
Definitely, you changed your mind while writing this.
  • Loading branch information
valeriyvan committed Dec 4, 2014
1 parent d88364d commit aa21968
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 2013-07-07-low-level-concurrency-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ Here we're setting up a timer to fire every 5 seconds and allow for a leeway of
dispatch_source_set_event_handler(source, ^(){
NSLog(@"Time flies.");
});
dispatch_time_t start
dispatch_source_set_timer(source, DISPATCH_TIME_NOW, 5ull * NSEC_PER_SEC,
100ull * NSEC_PER_MSEC);
self.source = source;
Expand Down

0 comments on commit aa21968

Please sign in to comment.