{"action":"closed","issue":{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/233","labels_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/233/comments","events_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/233/events","html_url":"https://github.com/ruby-concurrency/concurrent-ruby/issues/233","id":55587198,"number":233,"title":"Atomic get_and_set faulty in C","user":{"login":"pitr-ch","id":204460,"avatar_url":"https://avatars.githubusercontent.com/u/204460?v=3","gravatar_id":"","url":"https://api.github.com/users/pitr-ch","html_url":"https://github.com/pitr-ch","followers_url":"https://api.github.com/users/pitr-ch/followers","following_url":"https://api.github.com/users/pitr-ch/following{/other_user}","gists_url":"https://api.github.com/users/pitr-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/pitr-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitr-ch/subscriptions","organizations_url":"https://api.github.com/users/pitr-ch/orgs","repos_url":"https://api.github.com/users/pitr-ch/repos","events_url":"https://api.github.com/users/pitr-ch/events{/privacy}","received_events_url":"https://api.github.com/users/pitr-ch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"pitr-ch","id":204460,"avatar_url":"https://avatars.githubusercontent.com/u/204460?v=3","gravatar_id":"","url":"https://api.github.com/users/pitr-ch","html_url":"https://github.com/pitr-ch","followers_url":"https://api.github.com/users/pitr-ch/followers","following_url":"https://api.github.com/users/pitr-ch/following{/other_user}","gists_url":"https://api.github.com/users/pitr-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/pitr-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitr-ch/subscriptions","organizations_url":"https://api.github.com/users/pitr-ch/orgs","repos_url":"https://api.github.com/users/pitr-ch/repos","events_url":"https://api.github.com/users/pitr-ch/events{/privacy}","received_events_url":"https://api.github.com/users/pitr-ch/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/milestones/10","html_url":"https://github.com/ruby-concurrency/concurrent-ruby/milestones/0.9.0%20Release","labels_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/milestones/10/labels","id":935264,"number":10,"title":"0.9.0 Release","description":"See #257 ","creator":{"login":"jdantonio","id":173910,"avatar_url":"https://avatars.githubusercontent.com/u/173910?v=3","gravatar_id":"","url":"https://api.github.com/users/jdantonio","html_url":"https://github.com/jdantonio","followers_url":"https://api.github.com/users/jdantonio/followers","following_url":"https://api.github.com/users/jdantonio/following{/other_user}","gists_url":"https://api.github.com/users/jdantonio/gists{/gist_id}","starred_url":"https://api.github.com/users/jdantonio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdantonio/subscriptions","organizations_url":"https://api.github.com/users/jdantonio/orgs","repos_url":"https://api.github.com/users/jdantonio/repos","events_url":"https://api.github.com/users/jdantonio/events{/privacy}","received_events_url":"https://api.github.com/users/jdantonio/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":32,"state":"open","created_at":"2015-01-14T16:04:47Z","updated_at":"2015-05-13T23:12:55Z","due_on":"2015-05-18T04:00:00Z","closed_at":null},"comments":11,"created_at":"2015-01-27T08:04:46Z","updated_at":"2015-05-13T23:12:55Z","closed_at":"2015-05-13T23:12:55Z","body":"C version does not compare the read value which allows another update to sneak in.\r\nCompare: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/ext/concurrent/atomic_reference.c#L52-L56 and http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/concurrent/atomic/AtomicReference.java#139"}}