{"action":"created","issue":{"url":"https://api.github.com/repos/jcelliott/turnpike/issues/119","repository_url":"https://api.github.com/repos/jcelliott/turnpike","labels_url":"https://api.github.com/repos/jcelliott/turnpike/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/jcelliott/turnpike/issues/119/comments","events_url":"https://api.github.com/repos/jcelliott/turnpike/issues/119/events","html_url":"https://github.com/jcelliott/turnpike/pull/119","id":152788442,"number":119,"title":"Fixes for all detectable turnpike concurrency issues","user":{"login":"djoyner","id":31771,"avatar_url":"https://avatars.githubusercontent.com/u/31771?v=3","gravatar_id":"","url":"https://api.github.com/users/djoyner","html_url":"https://github.com/djoyner","followers_url":"https://api.github.com/users/djoyner/followers","following_url":"https://api.github.com/users/djoyner/following{/other_user}","gists_url":"https://api.github.com/users/djoyner/gists{/gist_id}","starred_url":"https://api.github.com/users/djoyner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djoyner/subscriptions","organizations_url":"https://api.github.com/users/djoyner/orgs","repos_url":"https://api.github.com/users/djoyner/repos","events_url":"https://api.github.com/users/djoyner/events{/privacy}","received_events_url":"https://api.github.com/users/djoyner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-03T14:30:24Z","updated_at":"2016-05-06T19:19:58Z","closed_at":"2016-05-06T16:46:31Z","pull_request":{"url":"https://api.github.com/repos/jcelliott/turnpike/pulls/119","html_url":"https://github.com/jcelliott/turnpike/pull/119","diff_url":"https://github.com/jcelliott/turnpike/pull/119.diff","patch_url":"https://github.com/jcelliott/turnpike/pull/119.patch"},"body":"Fixes #118.\r\n\r\nAvoid data races, concurrent map accesses, and concurrent writes\r\nto websocket connections.\r\n\r\nInstead of sprinkling locks all over the client, realm, broker,\r\nand dealer implementations this approach uses a goroutine in each\r\nclient and realm -- processing closures serially to guarantee\r\nexclusion between other goroutines.\r\n\r\nPasses unit tests under Golang 1.6 with the race detector turned on."},"comment":{"url":"https://api.github.com/repos/jcelliott/turnpike/issues/comments/217535287","html_url":"https://github.com/jcelliott/turnpike/pull/119#issuecomment-217535287","issue_url":"https://api.github.com/repos/jcelliott/turnpike/issues/119","id":217535287,"user":{"login":"djoyner","id":31771,"avatar_url":"https://avatars.githubusercontent.com/u/31771?v=3","gravatar_id":"","url":"https://api.github.com/users/djoyner","html_url":"https://github.com/djoyner","followers_url":"https://api.github.com/users/djoyner/followers","following_url":"https://api.github.com/users/djoyner/following{/other_user}","gists_url":"https://api.github.com/users/djoyner/gists{/gist_id}","starred_url":"https://api.github.com/users/djoyner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djoyner/subscriptions","organizations_url":"https://api.github.com/users/djoyner/orgs","repos_url":"https://api.github.com/users/djoyner/repos","events_url":"https://api.github.com/users/djoyner/events{/privacy}","received_events_url":"https://api.github.com/users/djoyner/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T19:19:58Z","updated_at":"2016-05-06T19:19:58Z","body":"@yanfali I do agree that there's opportunity to pursue finer-grained strategies."}}