{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/RTVS/pulls/comments/74950109","id":74950109,"diff_hunk":"@@ -474,6 +473,16 @@ public sealed partial class RHost : IDisposable, IRExpressionEvaluator, IRBlobSe\n         private async Task RunWorker(CancellationToken ct) {\n             TaskUtilities.AssertIsOnBackgroundThread();\n \n+            // Spin until the worker task is registered.\n+            while (_runTask == null) {\n+                await Task.Yield();","path":"src/Host/Client/Impl/Host/RHost.cs","position":32,"original_position":32,"commit_id":"00b67b72aa88f3df06660b7789b1df5444af13a8","original_commit_id":"00b67b72aa88f3df06660b7789b1df5444af13a8","user":{"login":"AlexanderSher","id":8933858,"avatar_url":"https://avatars.githubusercontent.com/u/8933858?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderSher","html_url":"https://github.com/AlexanderSher","followers_url":"https://api.github.com/users/AlexanderSher/followers","following_url":"https://api.github.com/users/AlexanderSher/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderSher/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderSher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderSher/subscriptions","organizations_url":"https://api.github.com/users/AlexanderSher/orgs","repos_url":"https://api.github.com/users/AlexanderSher/repos","events_url":"https://api.github.com/users/AlexanderSher/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderSher/received_events","type":"User","site_admin":false},"body":"Looks like a hack.\r\nProbably we replace these 3 tasks with 3 `TaskCompletionSourceEx` instances and cancel them in `finally` block","created_at":"2016-08-16T14:49:31Z","updated_at":"2016-08-16T14:49:31Z","html_url":"https://github.com/Microsoft/RTVS/pull/2173#discussion_r74950109","pull_request_url":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/RTVS/pulls/comments/74950109"},"html":{"href":"https://github.com/Microsoft/RTVS/pull/2173#discussion_r74950109"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173","id":81367488,"html_url":"https://github.com/Microsoft/RTVS/pull/2173","diff_url":"https://github.com/Microsoft/RTVS/pull/2173.diff","patch_url":"https://github.com/Microsoft/RTVS/pull/2173.patch","issue_url":"https://api.github.com/repos/Microsoft/RTVS/issues/2173","number":2173,"state":"open","locked":false,"title":"Add remoting support via broker","user":{"login":"int19h","id":1175142,"avatar_url":"https://avatars.githubusercontent.com/u/1175142?v=3","gravatar_id":"","url":"https://api.github.com/users/int19h","html_url":"https://github.com/int19h","followers_url":"https://api.github.com/users/int19h/followers","following_url":"https://api.github.com/users/int19h/following{/other_user}","gists_url":"https://api.github.com/users/int19h/gists{/gist_id}","starred_url":"https://api.github.com/users/int19h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/int19h/subscriptions","organizations_url":"https://api.github.com/users/int19h/orgs","repos_url":"https://api.github.com/users/int19h/repos","events_url":"https://api.github.com/users/int19h/events{/privacy}","received_events_url":"https://api.github.com/users/int19h/received_events","type":"User","site_admin":false},"body":"- Basic interpreter and session management.\r\n- Basic authentication and authorization.\r\n- Host/broker communication via stdin/out.\r\n- All RTVS code is now working through the broker for local connections.\r\n- Various associated unit test fixes.","created_at":"2016-08-15T20:10:45Z","updated_at":"2016-08-16T14:49:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12bfd1bb028eff98c73581c6b25eaf640c29a534","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173/commits","review_comments_url":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173/comments","review_comment_url":"https://api.github.com/repos/Microsoft/RTVS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/RTVS/issues/2173/comments","statuses_url":"https://api.github.com/repos/Microsoft/RTVS/statuses/00b67b72aa88f3df06660b7789b1df5444af13a8","head":{"label":"int19h:pipe6","ref":"pipe6","sha":"00b67b72aa88f3df06660b7789b1df5444af13a8","user":{"login":"int19h","id":1175142,"avatar_url":"https://avatars.githubusercontent.com/u/1175142?v=3","gravatar_id":"","url":"https://api.github.com/users/int19h","html_url":"https://github.com/int19h","followers_url":"https://api.github.com/users/int19h/followers","following_url":"https://api.github.com/users/int19h/following{/other_user}","gists_url":"https://api.github.com/users/int19h/gists{/gist_id}","starred_url":"https://api.github.com/users/int19h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/int19h/subscriptions","organizations_url":"https://api.github.com/users/int19h/orgs","repos_url":"https://api.github.com/users/int19h/repos","events_url":"https://api.github.com/users/int19h/events{/privacy}","received_events_url":"https://api.github.com/users/int19h/received_events","type":"User","site_admin":false},"repo":{"id":53513140,"name":"RTVS","full_name":"int19h/RTVS","owner":{"login":"int19h","id":1175142,"avatar_url":"https://avatars.githubusercontent.com/u/1175142?v=3","gravatar_id":"","url":"https://api.github.com/users/int19h","html_url":"https://github.com/int19h","followers_url":"https://api.github.com/users/int19h/followers","following_url":"https://api.github.com/users/int19h/following{/other_user}","gists_url":"https://api.github.com/users/int19h/gists{/gist_id}","starred_url":"https://api.github.com/users/int19h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/int19h/subscriptions","organizations_url":"https://api.github.com/users/int19h/orgs","repos_url":"https://api.github.com/users/int19h/repos","events_url":"https://api.github.com/users/int19h/events{/privacy}","received_events_url":"https://api.github.com/users/int19h/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/int19h/RTVS","description":"R Tools for Visual Studio.","fork":true,"url":"https://api.github.com/repos/int19h/RTVS","forks_url":"https://api.github.com/repos/int19h/RTVS/forks","keys_url":"https://api.github.com/repos/int19h/RTVS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/int19h/RTVS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/int19h/RTVS/teams","hooks_url":"https://api.github.com/repos/int19h/RTVS/hooks","issue_events_url":"https://api.github.com/repos/int19h/RTVS/issues/events{/number}","events_url":"https://api.github.com/repos/int19h/RTVS/events","assignees_url":"https://api.github.com/repos/int19h/RTVS/assignees{/user}","branches_url":"https://api.github.com/repos/int19h/RTVS/branches{/branch}","tags_url":"https://api.github.com/repos/int19h/RTVS/tags","blobs_url":"https://api.github.com/repos/int19h/RTVS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/int19h/RTVS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/int19h/RTVS/git/refs{/sha}","trees_url":"https://api.github.com/repos/int19h/RTVS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/int19h/RTVS/statuses/{sha}","languages_url":"https://api.github.com/repos/int19h/RTVS/languages","stargazers_url":"https://api.github.com/repos/int19h/RTVS/stargazers","contributors_url":"https://api.github.com/repos/int19h/RTVS/contributors","subscribers_url":"https://api.github.com/repos/int19h/RTVS/subscribers","subscription_url":"https://api.github.com/repos/int19h/RTVS/subscription","commits_url":"https://api.github.com/repos/int19h/RTVS/commits{/sha}","git_commits_url":"https://api.github.com/repos/int19h/RTVS/git/commits{/sha}","comments_url":"https://api.github.com/repos/int19h/RTVS/comments{/number}","issue_comment_url":"https://api.github.com/repos/int19h/RTVS/issues/comments{/number}","contents_url":"https://api.github.com/repos/int19h/RTVS/contents/{+path}","compare_url":"https://api.github.com/repos/int19h/RTVS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/int19h/RTVS/merges","archive_url":"https://api.github.com/repos/int19h/RTVS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/int19h/RTVS/downloads","issues_url":"https://api.github.com/repos/int19h/RTVS/issues{/number}","pulls_url":"https://api.github.com/repos/int19h/RTVS/pulls{/number}","milestones_url":"https://api.github.com/repos/int19h/RTVS/milestones{/number}","notifications_url":"https://api.github.com/repos/int19h/RTVS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/int19h/RTVS/labels{/name}","releases_url":"https://api.github.com/repos/int19h/RTVS/releases{/id}","deployments_url":"https://api.github.com/repos/int19h/RTVS/deployments","created_at":"2016-03-09T16:28:28Z","updated_at":"2016-03-09T16:28:34Z","pushed_at":"2016-08-16T01:48:50Z","git_url":"git://github.com/int19h/RTVS.git","ssh_url":"git@github.com:int19h/RTVS.git","clone_url":"https://github.com/int19h/RTVS.git","svn_url":"https://github.com/int19h/RTVS","homepage":null,"size":49512,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"95293f65760036c4d220d28a3794eba3d5dbc1a5","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":38640473,"name":"RTVS","full_name":"Microsoft/RTVS","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/RTVS","description":"R Tools for Visual Studio.","fork":false,"url":"https://api.github.com/repos/Microsoft/RTVS","forks_url":"https://api.github.com/repos/Microsoft/RTVS/forks","keys_url":"https://api.github.com/repos/Microsoft/RTVS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/RTVS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/RTVS/teams","hooks_url":"https://api.github.com/repos/Microsoft/RTVS/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/RTVS/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/RTVS/events","assignees_url":"https://api.github.com/repos/Microsoft/RTVS/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/RTVS/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/RTVS/tags","blobs_url":"https://api.github.com/repos/Microsoft/RTVS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/RTVS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/RTVS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/RTVS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/RTVS/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/RTVS/languages","stargazers_url":"https://api.github.com/repos/Microsoft/RTVS/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/RTVS/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/RTVS/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/RTVS/subscription","commits_url":"https://api.github.com/repos/Microsoft/RTVS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/RTVS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/RTVS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/RTVS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/RTVS/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/RTVS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/RTVS/merges","archive_url":"https://api.github.com/repos/Microsoft/RTVS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/RTVS/downloads","issues_url":"https://api.github.com/repos/Microsoft/RTVS/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/RTVS/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/RTVS/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/RTVS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/RTVS/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/RTVS/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/RTVS/deployments","created_at":"2015-07-06T19:14:09Z","updated_at":"2016-08-14T01:23:46Z","pushed_at":"2016-08-16T01:48:51Z","git_url":"git://github.com/Microsoft/RTVS.git","ssh_url":"git@github.com:Microsoft/RTVS.git","clone_url":"https://github.com/Microsoft/RTVS.git","svn_url":"https://github.com/Microsoft/RTVS","homepage":null,"size":49767,"stargazers_count":179,"watchers_count":179,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":305,"forks":53,"open_issues":305,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173"},"html":{"href":"https://github.com/Microsoft/RTVS/pull/2173"},"issue":{"href":"https://api.github.com/repos/Microsoft/RTVS/issues/2173"},"comments":{"href":"https://api.github.com/repos/Microsoft/RTVS/issues/2173/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/RTVS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/RTVS/pulls/2173/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/RTVS/statuses/00b67b72aa88f3df06660b7789b1df5444af13a8"}}}}
{"actor":{"display_login":"AlexanderSher"}}