{"action":"created","issue":{"url":"https://api.github.com/repos/DaidoujiChen/DispatchTimer/issues/1","labels_url":"https://api.github.com/repos/DaidoujiChen/DispatchTimer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/DaidoujiChen/DispatchTimer/issues/1/comments","events_url":"https://api.github.com/repos/DaidoujiChen/DispatchTimer/issues/1/events","html_url":"https://github.com/DaidoujiChen/DispatchTimer/issues/1","id":49321549,"number":1,"title":"为什么系统的dispatch_source_set_event_handler中的block方法没有执行","user":{"login":"yeby","id":5163634,"avatar_url":"https://avatars.githubusercontent.com/u/5163634?v=3","gravatar_id":"","url":"https://api.github.com/users/yeby","html_url":"https://github.com/yeby","followers_url":"https://api.github.com/users/yeby/followers","following_url":"https://api.github.com/users/yeby/following{/other_user}","gists_url":"https://api.github.com/users/yeby/gists{/gist_id}","starred_url":"https://api.github.com/users/yeby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeby/subscriptions","organizations_url":"https://api.github.com/users/yeby/orgs","repos_url":"https://api.github.com/users/yeby/repos","events_url":"https://api.github.com/users/yeby/events{/privacy}","received_events_url":"https://api.github.com/users/yeby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DaidoujiChen/DispatchTimer/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-19T02:35:44Z","updated_at":"2015-08-24T03:58:23Z","closed_at":"2014-11-19T03:01:07Z","body":"    dispatch_queue_t backgroundQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);\r\n    dispatch_source_t timerSource = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, backgroundQueue);\r\n    dispatch_source_set_timer(timerSource, dispatch_time(DISPATCH_TIME_NOW, 0), 1.0*NSEC_PER_SEC, 0*NSEC_PER_SEC);\r\n    dispatch_source_set_event_handler(timerSource, ^{\r\n        NSLog(@\"定时器....\");\r\n    });\r\n    dispatch_resume(timerSource);\r\n\r\n为什么系统的dispatch_source_set_event_handler中的block方法没有执行？"},"comment":{"url":"https://api.github.com/repos/DaidoujiChen/DispatchTimer/issues/comments/134017050","html_url":"https://github.com/DaidoujiChen/DispatchTimer/issues/1#issuecomment-134017050","issue_url":"https://api.github.com/repos/DaidoujiChen/DispatchTimer/issues/1","id":134017050,"user":{"login":"DaidoujiChen","id":670441,"avatar_url":"https://avatars.githubusercontent.com/u/670441?v=3","gravatar_id":"","url":"https://api.github.com/users/DaidoujiChen","html_url":"https://github.com/DaidoujiChen","followers_url":"https://api.github.com/users/DaidoujiChen/followers","following_url":"https://api.github.com/users/DaidoujiChen/following{/other_user}","gists_url":"https://api.github.com/users/DaidoujiChen/gists{/gist_id}","starred_url":"https://api.github.com/users/DaidoujiChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaidoujiChen/subscriptions","organizations_url":"https://api.github.com/users/DaidoujiChen/orgs","repos_url":"https://api.github.com/users/DaidoujiChen/repos","events_url":"https://api.github.com/users/DaidoujiChen/events{/privacy}","received_events_url":"https://api.github.com/users/DaidoujiChen/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T03:58:23Z","updated_at":"2015-08-24T03:58:23Z","body":":)"}}