{"action":"created","issue":{"url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils/issues/7","repository_url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils","labels_url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils/issues/7/comments","events_url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils/issues/7/events","html_url":"https://github.com/crossbeam-rs/crossbeam-utils/pull/7","id":296131196,"number":7,"title":"Add join for scoped thread API","user":{"login":"jeehoonkang","id":1201316,"avatar_url":"https://avatars0.githubusercontent.com/u/1201316?v=4","gravatar_id":"","url":"https://api.github.com/users/jeehoonkang","html_url":"https://github.com/jeehoonkang","followers_url":"https://api.github.com/users/jeehoonkang/followers","following_url":"https://api.github.com/users/jeehoonkang/following{/other_user}","gists_url":"https://api.github.com/users/jeehoonkang/gists{/gist_id}","starred_url":"https://api.github.com/users/jeehoonkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeehoonkang/subscriptions","organizations_url":"https://api.github.com/users/jeehoonkang/orgs","repos_url":"https://api.github.com/users/jeehoonkang/repos","events_url":"https://api.github.com/users/jeehoonkang/events{/privacy}","received_events_url":"https://api.github.com/users/jeehoonkang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-10T20:28:31Z","updated_at":"2018-02-11T03:00:48Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils/pulls/7","html_url":"https://github.com/crossbeam-rs/crossbeam-utils/pull/7","diff_url":"https://github.com/crossbeam-rs/crossbeam-utils/pull/7.diff","patch_url":"https://github.com/crossbeam-rs/crossbeam-utils/pull/7.patch"},"body":"Now `ScopedJoinHandle::join()` returns `thread::Result<T>`.  This PR closes https://github.com/crossbeam-rs/crossbeam/issues/126, closes https://github.com/crossbeam-rs/crossbeam/issues/92.\r\n\r\nIn addition, I added `Scope::join(&mut self) ->  Option<thread::Result<()>>` which returns the join result of an unjoined thread, and `Scope::join_all(&mut self) -> Vec<thread::Result<()>>` which returns the join results of all unjoined threads.\r\n\r\nSince both `ScopedJoinHandle` and `Scope` may return the join result of the same thread, they should not concurrently exist.  In order to enforce this, `Scope::join()` requires a mutable reference to `scope` and `ScopedJoinHandle` carries a lifetime.\r\n\r\nThis is a breaking change: semver should be bumped."},"comment":{"url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils/issues/comments/364715619","html_url":"https://github.com/crossbeam-rs/crossbeam-utils/pull/7#issuecomment-364715619","issue_url":"https://api.github.com/repos/crossbeam-rs/crossbeam-utils/issues/7","id":364715619,"user":{"login":"jeehoonkang","id":1201316,"avatar_url":"https://avatars0.githubusercontent.com/u/1201316?v=4","gravatar_id":"","url":"https://api.github.com/users/jeehoonkang","html_url":"https://github.com/jeehoonkang","followers_url":"https://api.github.com/users/jeehoonkang/followers","following_url":"https://api.github.com/users/jeehoonkang/following{/other_user}","gists_url":"https://api.github.com/users/jeehoonkang/gists{/gist_id}","starred_url":"https://api.github.com/users/jeehoonkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeehoonkang/subscriptions","organizations_url":"https://api.github.com/users/jeehoonkang/orgs","repos_url":"https://api.github.com/users/jeehoonkang/repos","events_url":"https://api.github.com/users/jeehoonkang/events{/privacy}","received_events_url":"https://api.github.com/users/jeehoonkang/received_events","type":"User","site_admin":false},"created_at":"2018-02-11T03:00:48Z","updated_at":"2018-02-11T03:00:48Z","author_association":"COLLABORATOR","body":"@Vtec234 Thanks for comments!  I revised the PR as you said."}}
{"actor":{"display_login":"jeehoonkang"}}