{"action":"created","issue":{"url":"https://api.github.com/repos/libuv/libuv/issues/197","labels_url":"https://api.github.com/repos/libuv/libuv/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/libuv/libuv/issues/197/comments","events_url":"https://api.github.com/repos/libuv/libuv/issues/197/events","html_url":"https://github.com/libuv/libuv/pull/197","id":57233710,"number":197,"title":"unix: fix for uv_async data race (v0.10)","user":{"login":"mpenick","id":3710715,"avatar_url":"https://avatars.githubusercontent.com/u/3710715?v=3","gravatar_id":"","url":"https://api.github.com/users/mpenick","html_url":"https://github.com/mpenick","followers_url":"https://api.github.com/users/mpenick/followers","following_url":"https://api.github.com/users/mpenick/following{/other_user}","gists_url":"https://api.github.com/users/mpenick/gists{/gist_id}","starred_url":"https://api.github.com/users/mpenick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpenick/subscriptions","organizations_url":"https://api.github.com/users/mpenick/orgs","repos_url":"https://api.github.com/users/mpenick/repos","events_url":"https://api.github.com/users/mpenick/events{/privacy}","received_events_url":"https://api.github.com/users/mpenick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-10T20:43:46Z","updated_at":"2015-02-11T21:20:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libuv/libuv/pulls/197","html_url":"https://github.com/libuv/libuv/pull/197","diff_url":"https://github.com/libuv/libuv/pull/197.diff","patch_url":"https://github.com/libuv/libuv/pull/197.patch"},"body":"I originally open a PR here: https://github.com/libuv/libuv/pull/50. This PR includes the changes requested in the  previous review.\r\n\r\nThere's a data race in the consuming side of uv_async. The \"pending\"\r\nflag could be trampled by producing thread causing an async send event\r\nto be missed.\r\n\r\nThis back ports the atomic operations added to v1.x in the commit\r\na3c3b37 (\"unix: add atomic-ops.h\").\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/libuv/libuv/issues/comments/73967086","html_url":"https://github.com/libuv/libuv/pull/197#issuecomment-73967086","issue_url":"https://api.github.com/repos/libuv/libuv/issues/197","id":73967086,"user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T21:20:17Z","updated_at":"2015-02-11T21:20:17Z","body":"I would be infinitesimally happier if the atomic-ops.h commit had been cherry-picked instead of squashed into the actual change."}}