{"action":"opened","number":708,"pull_request":{"url":"https://api.github.com/repos/tokio-rs/tokio/pulls/708","id":223721386,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzIxMzg2","html_url":"https://github.com/tokio-rs/tokio/pull/708","diff_url":"https://github.com/tokio-rs/tokio/pull/708.diff","patch_url":"https://github.com/tokio-rs/tokio/pull/708.patch","issue_url":"https://api.github.com/repos/tokio-rs/tokio/issues/708","number":708,"state":"open","locked":false,"title":"runtime: check Enter in more places when blocking","user":{"login":"seanmonstar","id":51479,"node_id":"MDQ6VXNlcjUxNDc5","avatar_url":"https://avatars1.githubusercontent.com/u/51479?v=4","gravatar_id":"","url":"https://api.github.com/users/seanmonstar","html_url":"https://github.com/seanmonstar","followers_url":"https://api.github.com/users/seanmonstar/followers","following_url":"https://api.github.com/users/seanmonstar/following{/other_user}","gists_url":"https://api.github.com/users/seanmonstar/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmonstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmonstar/subscriptions","organizations_url":"https://api.github.com/users/seanmonstar/orgs","repos_url":"https://api.github.com/users/seanmonstar/repos","events_url":"https://api.github.com/users/seanmonstar/events{/privacy}","received_events_url":"https://api.github.com/users/seanmonstar/received_events","type":"User","site_admin":false},"body":"- `tokio::run` checks Enter before creating a new threadpool and\r\n  spawning the main future.\r\n- `Runtime::block_on` now checks Enter\r\n- `Runtime::block_on_all` now checks Enter\r\n\r\nIncludes a matrix of tests of calling each of these (and `current_thread`), to prevent regressions.","created_at":"2018-10-17T19:10:04Z","updated_at":"2018-10-17T19:10:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tokio-rs/tokio/pulls/708/commits","review_comments_url":"https://api.github.com/repos/tokio-rs/tokio/pulls/708/comments","review_comment_url":"https://api.github.com/repos/tokio-rs/tokio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tokio-rs/tokio/issues/708/comments","statuses_url":"https://api.github.com/repos/tokio-rs/tokio/statuses/08ddf7dfbfa9a37419e159e476e1671b8767180f","head":{"label":"seanmonstar:enter-moar","ref":"enter-moar","sha":"08ddf7dfbfa9a37419e159e476e1671b8767180f","user":{"login":"seanmonstar","id":51479,"node_id":"MDQ6VXNlcjUxNDc5","avatar_url":"https://avatars1.githubusercontent.com/u/51479?v=4","gravatar_id":"","url":"https://api.github.com/users/seanmonstar","html_url":"https://github.com/seanmonstar","followers_url":"https://api.github.com/users/seanmonstar/followers","following_url":"https://api.github.com/users/seanmonstar/following{/other_user}","gists_url":"https://api.github.com/users/seanmonstar/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmonstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmonstar/subscriptions","organizations_url":"https://api.github.com/users/seanmonstar/orgs","repos_url":"https://api.github.com/users/seanmonstar/repos","events_url":"https://api.github.com/users/seanmonstar/events{/privacy}","received_events_url":"https://api.github.com/users/seanmonstar/received_events","type":"User","site_admin":false},"repo":{"id":110881248,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA4ODEyNDg=","name":"tokio","full_name":"seanmonstar/tokio","private":false,"owner":{"login":"seanmonstar","id":51479,"node_id":"MDQ6VXNlcjUxNDc5","avatar_url":"https://avatars1.githubusercontent.com/u/51479?v=4","gravatar_id":"","url":"https://api.github.com/users/seanmonstar","html_url":"https://github.com/seanmonstar","followers_url":"https://api.github.com/users/seanmonstar/followers","following_url":"https://api.github.com/users/seanmonstar/following{/other_user}","gists_url":"https://api.github.com/users/seanmonstar/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmonstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmonstar/subscriptions","organizations_url":"https://api.github.com/users/seanmonstar/orgs","repos_url":"https://api.github.com/users/seanmonstar/repos","events_url":"https://api.github.com/users/seanmonstar/events{/privacy}","received_events_url":"https://api.github.com/users/seanmonstar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/seanmonstar/tokio","description":"Asynchronous I/O for Rust","fork":true,"url":"https://api.github.com/repos/seanmonstar/tokio","forks_url":"https://api.github.com/repos/seanmonstar/tokio/forks","keys_url":"https://api.github.com/repos/seanmonstar/tokio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanmonstar/tokio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanmonstar/tokio/teams","hooks_url":"https://api.github.com/repos/seanmonstar/tokio/hooks","issue_events_url":"https://api.github.com/repos/seanmonstar/tokio/issues/events{/number}","events_url":"https://api.github.com/repos/seanmonstar/tokio/events","assignees_url":"https://api.github.com/repos/seanmonstar/tokio/assignees{/user}","branches_url":"https://api.github.com/repos/seanmonstar/tokio/branches{/branch}","tags_url":"https://api.github.com/repos/seanmonstar/tokio/tags","blobs_url":"https://api.github.com/repos/seanmonstar/tokio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanmonstar/tokio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanmonstar/tokio/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanmonstar/tokio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanmonstar/tokio/statuses/{sha}","languages_url":"https://api.github.com/repos/seanmonstar/tokio/languages","stargazers_url":"https://api.github.com/repos/seanmonstar/tokio/stargazers","contributors_url":"https://api.github.com/repos/seanmonstar/tokio/contributors","subscribers_url":"https://api.github.com/repos/seanmonstar/tokio/subscribers","subscription_url":"https://api.github.com/repos/seanmonstar/tokio/subscription","commits_url":"https://api.github.com/repos/seanmonstar/tokio/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanmonstar/tokio/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanmonstar/tokio/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanmonstar/tokio/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanmonstar/tokio/contents/{+path}","compare_url":"https://api.github.com/repos/seanmonstar/tokio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanmonstar/tokio/merges","archive_url":"https://api.github.com/repos/seanmonstar/tokio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanmonstar/tokio/downloads","issues_url":"https://api.github.com/repos/seanmonstar/tokio/issues{/number}","pulls_url":"https://api.github.com/repos/seanmonstar/tokio/pulls{/number}","milestones_url":"https://api.github.com/repos/seanmonstar/tokio/milestones{/number}","notifications_url":"https://api.github.com/repos/seanmonstar/tokio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanmonstar/tokio/labels{/name}","releases_url":"https://api.github.com/repos/seanmonstar/tokio/releases{/id}","deployments_url":"https://api.github.com/repos/seanmonstar/tokio/deployments","created_at":"2017-11-15T20:10:43Z","updated_at":"2017-11-15T20:10:45Z","pushed_at":"2018-10-17T19:08:43Z","git_url":"git://github.com/seanmonstar/tokio.git","ssh_url":"git@github.com:seanmonstar/tokio.git","clone_url":"https://github.com/seanmonstar/tokio.git","svn_url":"https://github.com/seanmonstar/tokio","homepage":null,"size":2645,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"new-crate"}},"base":{"label":"tokio-rs:master","ref":"master","sha":"753336de8e2e31eabfd1d4db867a7529ad38e568","user":{"login":"tokio-rs","id":20248544,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjQ4NTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/20248544?v=4","gravatar_id":"","url":"https://api.github.com/users/tokio-rs","html_url":"https://github.com/tokio-rs","followers_url":"https://api.github.com/users/tokio-rs/followers","following_url":"https://api.github.com/users/tokio-rs/following{/other_user}","gists_url":"https://api.github.com/users/tokio-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/tokio-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokio-rs/subscriptions","organizations_url":"https://api.github.com/users/tokio-rs/orgs","repos_url":"https://api.github.com/users/tokio-rs/repos","events_url":"https://api.github.com/users/tokio-rs/events{/privacy}","received_events_url":"https://api.github.com/users/tokio-rs/received_events","type":"Organization","site_admin":false},"repo":{"id":67836789,"node_id":"MDEwOlJlcG9zaXRvcnk2NzgzNjc4OQ==","name":"tokio","full_name":"tokio-rs/tokio","private":false,"owner":{"login":"tokio-rs","id":20248544,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjQ4NTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/20248544?v=4","gravatar_id":"","url":"https://api.github.com/users/tokio-rs","html_url":"https://github.com/tokio-rs","followers_url":"https://api.github.com/users/tokio-rs/followers","following_url":"https://api.github.com/users/tokio-rs/following{/other_user}","gists_url":"https://api.github.com/users/tokio-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/tokio-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokio-rs/subscriptions","organizations_url":"https://api.github.com/users/tokio-rs/orgs","repos_url":"https://api.github.com/users/tokio-rs/repos","events_url":"https://api.github.com/users/tokio-rs/events{/privacy}","received_events_url":"https://api.github.com/users/tokio-rs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tokio-rs/tokio","description":"A runtime for writing reliable, asynchronous, and slim applications with the Rust programming language.","fork":false,"url":"https://api.github.com/repos/tokio-rs/tokio","forks_url":"https://api.github.com/repos/tokio-rs/tokio/forks","keys_url":"https://api.github.com/repos/tokio-rs/tokio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tokio-rs/tokio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tokio-rs/tokio/teams","hooks_url":"https://api.github.com/repos/tokio-rs/tokio/hooks","issue_events_url":"https://api.github.com/repos/tokio-rs/tokio/issues/events{/number}","events_url":"https://api.github.com/repos/tokio-rs/tokio/events","assignees_url":"https://api.github.com/repos/tokio-rs/tokio/assignees{/user}","branches_url":"https://api.github.com/repos/tokio-rs/tokio/branches{/branch}","tags_url":"https://api.github.com/repos/tokio-rs/tokio/tags","blobs_url":"https://api.github.com/repos/tokio-rs/tokio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tokio-rs/tokio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tokio-rs/tokio/git/refs{/sha}","trees_url":"https://api.github.com/repos/tokio-rs/tokio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tokio-rs/tokio/statuses/{sha}","languages_url":"https://api.github.com/repos/tokio-rs/tokio/languages","stargazers_url":"https://api.github.com/repos/tokio-rs/tokio/stargazers","contributors_url":"https://api.github.com/repos/tokio-rs/tokio/contributors","subscribers_url":"https://api.github.com/repos/tokio-rs/tokio/subscribers","subscription_url":"https://api.github.com/repos/tokio-rs/tokio/subscription","commits_url":"https://api.github.com/repos/tokio-rs/tokio/commits{/sha}","git_commits_url":"https://api.github.com/repos/tokio-rs/tokio/git/commits{/sha}","comments_url":"https://api.github.com/repos/tokio-rs/tokio/comments{/number}","issue_comment_url":"https://api.github.com/repos/tokio-rs/tokio/issues/comments{/number}","contents_url":"https://api.github.com/repos/tokio-rs/tokio/contents/{+path}","compare_url":"https://api.github.com/repos/tokio-rs/tokio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tokio-rs/tokio/merges","archive_url":"https://api.github.com/repos/tokio-rs/tokio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tokio-rs/tokio/downloads","issues_url":"https://api.github.com/repos/tokio-rs/tokio/issues{/number}","pulls_url":"https://api.github.com/repos/tokio-rs/tokio/pulls{/number}","milestones_url":"https://api.github.com/repos/tokio-rs/tokio/milestones{/number}","notifications_url":"https://api.github.com/repos/tokio-rs/tokio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tokio-rs/tokio/labels{/name}","releases_url":"https://api.github.com/repos/tokio-rs/tokio/releases{/id}","deployments_url":"https://api.github.com/repos/tokio-rs/tokio/deployments","created_at":"2016-09-09T22:31:36Z","updated_at":"2018-10-17T17:03:15Z","pushed_at":"2018-10-16T17:23:35Z","git_url":"git://github.com/tokio-rs/tokio.git","ssh_url":"git@github.com:tokio-rs/tokio.git","clone_url":"https://github.com/tokio-rs/tokio.git","svn_url":"https://github.com/tokio-rs/tokio","homepage":"https://tokio.rs","size":4162,"stargazers_count":3355,"watchers_count":3355,"language":"Rust","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":234,"mirror_url":null,"archived":false,"open_issues_count":97,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":234,"open_issues":97,"watchers":3355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tokio-rs/tokio/pulls/708"},"html":{"href":"https://github.com/tokio-rs/tokio/pull/708"},"issue":{"href":"https://api.github.com/repos/tokio-rs/tokio/issues/708"},"comments":{"href":"https://api.github.com/repos/tokio-rs/tokio/issues/708/comments"},"review_comments":{"href":"https://api.github.com/repos/tokio-rs/tokio/pulls/708/comments"},"review_comment":{"href":"https://api.github.com/repos/tokio-rs/tokio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tokio-rs/tokio/pulls/708/commits"},"statuses":{"href":"https://api.github.com/repos/tokio-rs/tokio/statuses/08ddf7dfbfa9a37419e159e476e1671b8767180f"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":89,"deletions":15,"changed_files":2}}
{"actor":{"display_login":"seanmonstar"}}