{"action":"created","comment":{"url":"https://api.github.com/repos/3Hren/cocaine-core/pulls/comments/96430233","pull_request_review_id":17009291,"id":96430233,"diff_hunk":"@@ -0,0 +1,34 @@\n+#include \"cocaine/executor/asio.hpp\"\n+\n+namespace cocaine {\n+namespace executor {\n+\n+owning_asio_t::owning_asio_t(stop_policy_t _stop_policy):\n+    io_loop(),\n+    work(asio::io_service::work(io_loop)),\n+    thread([&](){ io_loop.run(); }),\n+    stop_policy(_stop_policy)\n+{}\n+\n+owning_asio_t::~owning_asio_t() {\n+    work = boost::none;","path":"src/executor/asio.cpp","position":14,"original_position":14,"commit_id":"c009f15417074470433cd0f0dc2f1adfdbfd9381","original_commit_id":"c009f15417074470433cd0f0dc2f1adfdbfd9381","user":{"login":"3Hren","id":969900,"avatar_url":"https://avatars.githubusercontent.com/u/969900?v=3","gravatar_id":"","url":"https://api.github.com/users/3Hren","html_url":"https://github.com/3Hren","followers_url":"https://api.github.com/users/3Hren/followers","following_url":"https://api.github.com/users/3Hren/following{/other_user}","gists_url":"https://api.github.com/users/3Hren/gists{/gist_id}","starred_url":"https://api.github.com/users/3Hren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Hren/subscriptions","organizations_url":"https://api.github.com/users/3Hren/orgs","repos_url":"https://api.github.com/users/3Hren/repos","events_url":"https://api.github.com/users/3Hren/events{/privacy}","received_events_url":"https://api.github.com/users/3Hren/received_events","type":"User","site_admin":false},"body":"Just `reset()`?","created_at":"2017-01-17T15:06:09Z","updated_at":"2017-01-17T15:08:27Z","html_url":"https://github.com/3Hren/cocaine-core/pull/134#discussion_r96430233","pull_request_url":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134","_links":{"self":{"href":"https://api.github.com/repos/3Hren/cocaine-core/pulls/comments/96430233"},"html":{"href":"https://github.com/3Hren/cocaine-core/pull/134#discussion_r96430233"},"pull_request":{"href":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134"}}},"pull_request":{"url":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134","id":101878105,"html_url":"https://github.com/3Hren/cocaine-core/pull/134","diff_url":"https://github.com/3Hren/cocaine-core/pull/134.diff","patch_url":"https://github.com/3Hren/cocaine-core/pull/134.patch","issue_url":"https://api.github.com/repos/3Hren/cocaine-core/issues/134","number":134,"state":"open","locked":false,"title":"feat: executor abstraction","user":{"login":"antmat","id":691770,"avatar_url":"https://avatars.githubusercontent.com/u/691770?v=3","gravatar_id":"","url":"https://api.github.com/users/antmat","html_url":"https://github.com/antmat","followers_url":"https://api.github.com/users/antmat/followers","following_url":"https://api.github.com/users/antmat/following{/other_user}","gists_url":"https://api.github.com/users/antmat/gists{/gist_id}","starred_url":"https://api.github.com/users/antmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antmat/subscriptions","organizations_url":"https://api.github.com/users/antmat/orgs","repos_url":"https://api.github.com/users/antmat/repos","events_url":"https://api.github.com/users/antmat/events{/privacy}","received_events_url":"https://api.github.com/users/antmat/received_events","type":"User","site_admin":false},"body":"@3Hren @karitra PTAL","created_at":"2017-01-17T14:51:03Z","updated_at":"2017-01-17T15:08:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"def451410207f3792cd9d6031727c1d125fb7666","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134/commits","review_comments_url":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134/comments","review_comment_url":"https://api.github.com/repos/3Hren/cocaine-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/3Hren/cocaine-core/issues/134/comments","statuses_url":"https://api.github.com/repos/3Hren/cocaine-core/statuses/c009f15417074470433cd0f0dc2f1adfdbfd9381","head":{"label":"3Hren:feat/executor","ref":"feat/executor","sha":"c009f15417074470433cd0f0dc2f1adfdbfd9381","user":{"login":"3Hren","id":969900,"avatar_url":"https://avatars.githubusercontent.com/u/969900?v=3","gravatar_id":"","url":"https://api.github.com/users/3Hren","html_url":"https://github.com/3Hren","followers_url":"https://api.github.com/users/3Hren/followers","following_url":"https://api.github.com/users/3Hren/following{/other_user}","gists_url":"https://api.github.com/users/3Hren/gists{/gist_id}","starred_url":"https://api.github.com/users/3Hren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Hren/subscriptions","organizations_url":"https://api.github.com/users/3Hren/orgs","repos_url":"https://api.github.com/users/3Hren/repos","events_url":"https://api.github.com/users/3Hren/events{/privacy}","received_events_url":"https://api.github.com/users/3Hren/received_events","type":"User","site_admin":false},"repo":{"id":11948568,"name":"cocaine-core","full_name":"3Hren/cocaine-core","owner":{"login":"3Hren","id":969900,"avatar_url":"https://avatars.githubusercontent.com/u/969900?v=3","gravatar_id":"","url":"https://api.github.com/users/3Hren","html_url":"https://github.com/3Hren","followers_url":"https://api.github.com/users/3Hren/followers","following_url":"https://api.github.com/users/3Hren/following{/other_user}","gists_url":"https://api.github.com/users/3Hren/gists{/gist_id}","starred_url":"https://api.github.com/users/3Hren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Hren/subscriptions","organizations_url":"https://api.github.com/users/3Hren/orgs","repos_url":"https://api.github.com/users/3Hren/repos","events_url":"https://api.github.com/users/3Hren/events{/privacy}","received_events_url":"https://api.github.com/users/3Hren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3Hren/cocaine-core","description":"Cocaine Application Engine","fork":true,"url":"https://api.github.com/repos/3Hren/cocaine-core","forks_url":"https://api.github.com/repos/3Hren/cocaine-core/forks","keys_url":"https://api.github.com/repos/3Hren/cocaine-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3Hren/cocaine-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3Hren/cocaine-core/teams","hooks_url":"https://api.github.com/repos/3Hren/cocaine-core/hooks","issue_events_url":"https://api.github.com/repos/3Hren/cocaine-core/issues/events{/number}","events_url":"https://api.github.com/repos/3Hren/cocaine-core/events","assignees_url":"https://api.github.com/repos/3Hren/cocaine-core/assignees{/user}","branches_url":"https://api.github.com/repos/3Hren/cocaine-core/branches{/branch}","tags_url":"https://api.github.com/repos/3Hren/cocaine-core/tags","blobs_url":"https://api.github.com/repos/3Hren/cocaine-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3Hren/cocaine-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3Hren/cocaine-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/3Hren/cocaine-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3Hren/cocaine-core/statuses/{sha}","languages_url":"https://api.github.com/repos/3Hren/cocaine-core/languages","stargazers_url":"https://api.github.com/repos/3Hren/cocaine-core/stargazers","contributors_url":"https://api.github.com/repos/3Hren/cocaine-core/contributors","subscribers_url":"https://api.github.com/repos/3Hren/cocaine-core/subscribers","subscription_url":"https://api.github.com/repos/3Hren/cocaine-core/subscription","commits_url":"https://api.github.com/repos/3Hren/cocaine-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/3Hren/cocaine-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/3Hren/cocaine-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/3Hren/cocaine-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/3Hren/cocaine-core/contents/{+path}","compare_url":"https://api.github.com/repos/3Hren/cocaine-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3Hren/cocaine-core/merges","archive_url":"https://api.github.com/repos/3Hren/cocaine-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3Hren/cocaine-core/downloads","issues_url":"https://api.github.com/repos/3Hren/cocaine-core/issues{/number}","pulls_url":"https://api.github.com/repos/3Hren/cocaine-core/pulls{/number}","milestones_url":"https://api.github.com/repos/3Hren/cocaine-core/milestones{/number}","notifications_url":"https://api.github.com/repos/3Hren/cocaine-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3Hren/cocaine-core/labels{/name}","releases_url":"https://api.github.com/repos/3Hren/cocaine-core/releases{/id}","deployments_url":"https://api.github.com/repos/3Hren/cocaine-core/deployments","created_at":"2013-08-07T11:36:51Z","updated_at":"2016-10-25T20:00:48Z","pushed_at":"2017-01-17T14:52:20Z","git_url":"git://github.com/3Hren/cocaine-core.git","ssh_url":"git@github.com:3Hren/cocaine-core.git","clone_url":"https://github.com/3Hren/cocaine-core.git","svn_url":"https://github.com/3Hren/cocaine-core","homepage":"","size":13662,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":2,"default_branch":"v0.12.11"}},"base":{"label":"3Hren:v0.12.11","ref":"v0.12.11","sha":"eb85376d9e224d6e02ef6a8ac06712315ff988ec","user":{"login":"3Hren","id":969900,"avatar_url":"https://avatars.githubusercontent.com/u/969900?v=3","gravatar_id":"","url":"https://api.github.com/users/3Hren","html_url":"https://github.com/3Hren","followers_url":"https://api.github.com/users/3Hren/followers","following_url":"https://api.github.com/users/3Hren/following{/other_user}","gists_url":"https://api.github.com/users/3Hren/gists{/gist_id}","starred_url":"https://api.github.com/users/3Hren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Hren/subscriptions","organizations_url":"https://api.github.com/users/3Hren/orgs","repos_url":"https://api.github.com/users/3Hren/repos","events_url":"https://api.github.com/users/3Hren/events{/privacy}","received_events_url":"https://api.github.com/users/3Hren/received_events","type":"User","site_admin":false},"repo":{"id":11948568,"name":"cocaine-core","full_name":"3Hren/cocaine-core","owner":{"login":"3Hren","id":969900,"avatar_url":"https://avatars.githubusercontent.com/u/969900?v=3","gravatar_id":"","url":"https://api.github.com/users/3Hren","html_url":"https://github.com/3Hren","followers_url":"https://api.github.com/users/3Hren/followers","following_url":"https://api.github.com/users/3Hren/following{/other_user}","gists_url":"https://api.github.com/users/3Hren/gists{/gist_id}","starred_url":"https://api.github.com/users/3Hren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Hren/subscriptions","organizations_url":"https://api.github.com/users/3Hren/orgs","repos_url":"https://api.github.com/users/3Hren/repos","events_url":"https://api.github.com/users/3Hren/events{/privacy}","received_events_url":"https://api.github.com/users/3Hren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3Hren/cocaine-core","description":"Cocaine Application Engine","fork":true,"url":"https://api.github.com/repos/3Hren/cocaine-core","forks_url":"https://api.github.com/repos/3Hren/cocaine-core/forks","keys_url":"https://api.github.com/repos/3Hren/cocaine-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3Hren/cocaine-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3Hren/cocaine-core/teams","hooks_url":"https://api.github.com/repos/3Hren/cocaine-core/hooks","issue_events_url":"https://api.github.com/repos/3Hren/cocaine-core/issues/events{/number}","events_url":"https://api.github.com/repos/3Hren/cocaine-core/events","assignees_url":"https://api.github.com/repos/3Hren/cocaine-core/assignees{/user}","branches_url":"https://api.github.com/repos/3Hren/cocaine-core/branches{/branch}","tags_url":"https://api.github.com/repos/3Hren/cocaine-core/tags","blobs_url":"https://api.github.com/repos/3Hren/cocaine-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3Hren/cocaine-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3Hren/cocaine-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/3Hren/cocaine-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3Hren/cocaine-core/statuses/{sha}","languages_url":"https://api.github.com/repos/3Hren/cocaine-core/languages","stargazers_url":"https://api.github.com/repos/3Hren/cocaine-core/stargazers","contributors_url":"https://api.github.com/repos/3Hren/cocaine-core/contributors","subscribers_url":"https://api.github.com/repos/3Hren/cocaine-core/subscribers","subscription_url":"https://api.github.com/repos/3Hren/cocaine-core/subscription","commits_url":"https://api.github.com/repos/3Hren/cocaine-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/3Hren/cocaine-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/3Hren/cocaine-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/3Hren/cocaine-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/3Hren/cocaine-core/contents/{+path}","compare_url":"https://api.github.com/repos/3Hren/cocaine-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3Hren/cocaine-core/merges","archive_url":"https://api.github.com/repos/3Hren/cocaine-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3Hren/cocaine-core/downloads","issues_url":"https://api.github.com/repos/3Hren/cocaine-core/issues{/number}","pulls_url":"https://api.github.com/repos/3Hren/cocaine-core/pulls{/number}","milestones_url":"https://api.github.com/repos/3Hren/cocaine-core/milestones{/number}","notifications_url":"https://api.github.com/repos/3Hren/cocaine-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3Hren/cocaine-core/labels{/name}","releases_url":"https://api.github.com/repos/3Hren/cocaine-core/releases{/id}","deployments_url":"https://api.github.com/repos/3Hren/cocaine-core/deployments","created_at":"2013-08-07T11:36:51Z","updated_at":"2016-10-25T20:00:48Z","pushed_at":"2017-01-17T14:52:20Z","git_url":"git://github.com/3Hren/cocaine-core.git","ssh_url":"git@github.com:3Hren/cocaine-core.git","clone_url":"https://github.com/3Hren/cocaine-core.git","svn_url":"https://github.com/3Hren/cocaine-core","homepage":"","size":13662,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":2,"default_branch":"v0.12.11"}},"_links":{"self":{"href":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134"},"html":{"href":"https://github.com/3Hren/cocaine-core/pull/134"},"issue":{"href":"https://api.github.com/repos/3Hren/cocaine-core/issues/134"},"comments":{"href":"https://api.github.com/repos/3Hren/cocaine-core/issues/134/comments"},"review_comments":{"href":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134/comments"},"review_comment":{"href":"https://api.github.com/repos/3Hren/cocaine-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/3Hren/cocaine-core/pulls/134/commits"},"statuses":{"href":"https://api.github.com/repos/3Hren/cocaine-core/statuses/c009f15417074470433cd0f0dc2f1adfdbfd9381"}}}}
{"actor":{"display_login":"3Hren"}}