{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/53255105","id":53255105,"diff_hunk":"@@ -10,7 +10,8 @@ export\n     atomic_xchg!,\n     atomic_add!, atomic_sub!,\n     atomic_and!, atomic_nand!, atomic_or!, atomic_xor!,\n-    atomic_max!, atomic_min!\n+    atomic_max!, atomic_min!,\n+    fence","path":"base/atomics.jl","position":6,"original_position":6,"commit_id":"1db0ee93900a82fc884a80c263a46c3546438168","original_commit_id":"1db0ee93900a82fc884a80c263a46c3546438168","user":{"login":"kpamnany","id":3784427,"avatar_url":"https://avatars.githubusercontent.com/u/3784427?v=3","gravatar_id":"","url":"https://api.github.com/users/kpamnany","html_url":"https://github.com/kpamnany","followers_url":"https://api.github.com/users/kpamnany/followers","following_url":"https://api.github.com/users/kpamnany/following{/other_user}","gists_url":"https://api.github.com/users/kpamnany/gists{/gist_id}","starred_url":"https://api.github.com/users/kpamnany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpamnany/subscriptions","organizations_url":"https://api.github.com/users/kpamnany/orgs","repos_url":"https://api.github.com/users/kpamnany/repos","events_url":"https://api.github.com/users/kpamnany/events{/privacy}","received_events_url":"https://api.github.com/users/kpamnany/received_events","type":"User","site_admin":false},"body":"Call this ``atomic_fence`` for consistency?","created_at":"2016-02-18T00:26:10Z","updated_at":"2016-02-18T00:26:10Z","html_url":"https://github.com/JuliaLang/julia/pull/15126#discussion_r53255105","pull_request_url":"https://api.github.com/repos/JuliaLang/julia/pulls/15126","_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/53255105"},"html":{"href":"https://github.com/JuliaLang/julia/pull/15126#discussion_r53255105"},"pull_request":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/15126"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/15126","id":59728274,"html_url":"https://github.com/JuliaLang/julia/pull/15126","diff_url":"https://github.com/JuliaLang/julia/pull/15126.diff","patch_url":"https://github.com/JuliaLang/julia/pull/15126.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/15126","number":15126,"state":"open","locked":false,"title":"Update atomic_rmw operations to use acq_rel ordering; introduce fence","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"body":"- set memory ordering for atomic loads to acquire\r\n- set memory ordering for atomic stores to release\r\n- set memory ordering for atomic rmw operations to acq_rel\r\n- introduce fence instruction with acq_rel ordering\r\n\r\nSee #15106 for a related discussion.","created_at":"2016-02-17T23:41:26Z","updated_at":"2016-02-18T00:26:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01c3561948e86c40e819c69305b510b016da12c8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/15126/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/15126/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/15126/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/1db0ee93900a82fc884a80c263a46c3546438168","head":{"label":"eschnett:eschnett/atomic-rmw","ref":"eschnett/atomic-rmw","sha":"1db0ee93900a82fc884a80c263a46c3546438168","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"repo":{"id":23268889,"name":"julia","full_name":"eschnett/julia","owner":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eschnett/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/eschnett/julia","forks_url":"https://api.github.com/repos/eschnett/julia/forks","keys_url":"https://api.github.com/repos/eschnett/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eschnett/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eschnett/julia/teams","hooks_url":"https://api.github.com/repos/eschnett/julia/hooks","issue_events_url":"https://api.github.com/repos/eschnett/julia/issues/events{/number}","events_url":"https://api.github.com/repos/eschnett/julia/events","assignees_url":"https://api.github.com/repos/eschnett/julia/assignees{/user}","branches_url":"https://api.github.com/repos/eschnett/julia/branches{/branch}","tags_url":"https://api.github.com/repos/eschnett/julia/tags","blobs_url":"https://api.github.com/repos/eschnett/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eschnett/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eschnett/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/eschnett/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eschnett/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/eschnett/julia/languages","stargazers_url":"https://api.github.com/repos/eschnett/julia/stargazers","contributors_url":"https://api.github.com/repos/eschnett/julia/contributors","subscribers_url":"https://api.github.com/repos/eschnett/julia/subscribers","subscription_url":"https://api.github.com/repos/eschnett/julia/subscription","commits_url":"https://api.github.com/repos/eschnett/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/eschnett/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/eschnett/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/eschnett/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/eschnett/julia/contents/{+path}","compare_url":"https://api.github.com/repos/eschnett/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eschnett/julia/merges","archive_url":"https://api.github.com/repos/eschnett/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eschnett/julia/downloads","issues_url":"https://api.github.com/repos/eschnett/julia/issues{/number}","pulls_url":"https://api.github.com/repos/eschnett/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/eschnett/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/eschnett/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eschnett/julia/labels{/name}","releases_url":"https://api.github.com/repos/eschnett/julia/releases{/id}","deployments_url":"https://api.github.com/repos/eschnett/julia/deployments","created_at":"2014-08-23T23:50:07Z","updated_at":"2015-02-03T13:25:37Z","pushed_at":"2016-02-17T23:40:39Z","git_url":"git://github.com/eschnett/julia.git","ssh_url":"git@github.com:eschnett/julia.git","clone_url":"https://github.com/eschnett/julia.git","svn_url":"https://github.com/eschnett/julia","homepage":"http://julialang.org/","size":95227,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"OSX"}},"base":{"label":"JuliaLang:master","ref":"master","sha":"c99b9f619286da22203521e740764c2b7fded888","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaLang/julia/deployments","created_at":"2011-04-21T07:01:50Z","updated_at":"2016-02-17T22:21:48Z","pushed_at":"2016-02-18T00:22:57Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":122584,"stargazers_count":6729,"watchers_count":6729,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1531,"mirror_url":null,"open_issues_count":1664,"forks":1531,"open_issues":1664,"watchers":6729,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/15126"},"html":{"href":"https://github.com/JuliaLang/julia/pull/15126"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/15126"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/15126/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/15126/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/15126/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/1db0ee93900a82fc884a80c263a46c3546438168"}}}}