{"action":"created","comment":{"url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/comments/52738454","id":52738454,"diff_hunk":"@@ -6,12 +6,16 @@\n namespace LibGeoDecomp {\n namespace HpxSimulatorHelpers {\n \n+hpx::lcos::local::promise<void> initPromise;","path":"src/parallelization/hpxsimulator.cpp","position":4,"original_position":4,"commit_id":"de297740bf956b51aec6349a9f35e865d4f4ef76","original_commit_id":"de297740bf956b51aec6349a9f35e865d4f4ef76","user":{"login":"gentryx","id":1305099,"avatar_url":"https://avatars.githubusercontent.com/u/1305099?v=3","gravatar_id":"","url":"https://api.github.com/users/gentryx","html_url":"https://github.com/gentryx","followers_url":"https://api.github.com/users/gentryx/followers","following_url":"https://api.github.com/users/gentryx/following{/other_user}","gists_url":"https://api.github.com/users/gentryx/gists{/gist_id}","starred_url":"https://api.github.com/users/gentryx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentryx/subscriptions","organizations_url":"https://api.github.com/users/gentryx/orgs","repos_url":"https://api.github.com/users/gentryx/repos","events_url":"https://api.github.com/users/gentryx/events{/privacy}","received_events_url":"https://api.github.com/users/gentryx/received_events","type":"User","site_admin":false},"body":"1. Who is responsible for resetting this promise if the user wants to create another HpxSimulator?\r\n2. If the user is instantiating two HpxSimulators simultaneously this single static variable creates a race condition.","created_at":"2016-02-12T13:05:23Z","updated_at":"2016-02-12T13:05:23Z","html_url":"https://github.com/STEllAR-GROUP/libgeodecomp/pull/3#discussion_r52738454","pull_request_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/comments/52738454"},"html":{"href":"https://github.com/STEllAR-GROUP/libgeodecomp/pull/3#discussion_r52738454"},"pull_request":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3","id":59169082,"html_url":"https://github.com/STEllAR-GROUP/libgeodecomp/pull/3","diff_url":"https://github.com/STEllAR-GROUP/libgeodecomp/pull/3.diff","patch_url":"https://github.com/STEllAR-GROUP/libgeodecomp/pull/3.patch","issue_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/issues/3","number":3,"state":"open","locked":false,"title":"Fixing race condition during initial allgather","user":{"login":"sithhell","id":53655,"avatar_url":"https://avatars.githubusercontent.com/u/53655?v=3","gravatar_id":"","url":"https://api.github.com/users/sithhell","html_url":"https://github.com/sithhell","followers_url":"https://api.github.com/users/sithhell/followers","following_url":"https://api.github.com/users/sithhell/following{/other_user}","gists_url":"https://api.github.com/users/sithhell/gists{/gist_id}","starred_url":"https://api.github.com/users/sithhell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithhell/subscriptions","organizations_url":"https://api.github.com/users/sithhell/orgs","repos_url":"https://api.github.com/users/sithhell/repos","events_url":"https://api.github.com/users/sithhell/events{/privacy}","received_events_url":"https://api.github.com/users/sithhell/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-12T12:48:46Z","updated_at":"2016-02-12T13:05:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b47486a65868f5602af806227c593a6517ee3acc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3/commits","review_comments_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3/comments","review_comment_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/issues/3/comments","statuses_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/statuses/de297740bf956b51aec6349a9f35e865d4f4ef76","head":{"label":"sithhell:fixing_broadcast","ref":"fixing_broadcast","sha":"de297740bf956b51aec6349a9f35e865d4f4ef76","user":{"login":"sithhell","id":53655,"avatar_url":"https://avatars.githubusercontent.com/u/53655?v=3","gravatar_id":"","url":"https://api.github.com/users/sithhell","html_url":"https://github.com/sithhell","followers_url":"https://api.github.com/users/sithhell/followers","following_url":"https://api.github.com/users/sithhell/following{/other_user}","gists_url":"https://api.github.com/users/sithhell/gists{/gist_id}","starred_url":"https://api.github.com/users/sithhell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithhell/subscriptions","organizations_url":"https://api.github.com/users/sithhell/orgs","repos_url":"https://api.github.com/users/sithhell/repos","events_url":"https://api.github.com/users/sithhell/events{/privacy}","received_events_url":"https://api.github.com/users/sithhell/received_events","type":"User","site_admin":false},"repo":{"id":51578948,"name":"libgeodecomp","full_name":"sithhell/libgeodecomp","owner":{"login":"sithhell","id":53655,"avatar_url":"https://avatars.githubusercontent.com/u/53655?v=3","gravatar_id":"","url":"https://api.github.com/users/sithhell","html_url":"https://github.com/sithhell","followers_url":"https://api.github.com/users/sithhell/followers","following_url":"https://api.github.com/users/sithhell/following{/other_user}","gists_url":"https://api.github.com/users/sithhell/gists{/gist_id}","starred_url":"https://api.github.com/users/sithhell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithhell/subscriptions","organizations_url":"https://api.github.com/users/sithhell/orgs","repos_url":"https://api.github.com/users/sithhell/repos","events_url":"https://api.github.com/users/sithhell/events{/privacy}","received_events_url":"https://api.github.com/users/sithhell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sithhell/libgeodecomp","description":"A library for C++/Fortran computer simulations (e.g. stencil codes, mesh-free, unstructured grids, n-body & particle methods). Scales from smartphones to petascale supercomputers (e.g. Titan, Tsubame 2.5, Edison, JUQUEEN, Stampede)","fork":true,"url":"https://api.github.com/repos/sithhell/libgeodecomp","forks_url":"https://api.github.com/repos/sithhell/libgeodecomp/forks","keys_url":"https://api.github.com/repos/sithhell/libgeodecomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sithhell/libgeodecomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sithhell/libgeodecomp/teams","hooks_url":"https://api.github.com/repos/sithhell/libgeodecomp/hooks","issue_events_url":"https://api.github.com/repos/sithhell/libgeodecomp/issues/events{/number}","events_url":"https://api.github.com/repos/sithhell/libgeodecomp/events","assignees_url":"https://api.github.com/repos/sithhell/libgeodecomp/assignees{/user}","branches_url":"https://api.github.com/repos/sithhell/libgeodecomp/branches{/branch}","tags_url":"https://api.github.com/repos/sithhell/libgeodecomp/tags","blobs_url":"https://api.github.com/repos/sithhell/libgeodecomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sithhell/libgeodecomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sithhell/libgeodecomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/sithhell/libgeodecomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sithhell/libgeodecomp/statuses/{sha}","languages_url":"https://api.github.com/repos/sithhell/libgeodecomp/languages","stargazers_url":"https://api.github.com/repos/sithhell/libgeodecomp/stargazers","contributors_url":"https://api.github.com/repos/sithhell/libgeodecomp/contributors","subscribers_url":"https://api.github.com/repos/sithhell/libgeodecomp/subscribers","subscription_url":"https://api.github.com/repos/sithhell/libgeodecomp/subscription","commits_url":"https://api.github.com/repos/sithhell/libgeodecomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/sithhell/libgeodecomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/sithhell/libgeodecomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/sithhell/libgeodecomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/sithhell/libgeodecomp/contents/{+path}","compare_url":"https://api.github.com/repos/sithhell/libgeodecomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sithhell/libgeodecomp/merges","archive_url":"https://api.github.com/repos/sithhell/libgeodecomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sithhell/libgeodecomp/downloads","issues_url":"https://api.github.com/repos/sithhell/libgeodecomp/issues{/number}","pulls_url":"https://api.github.com/repos/sithhell/libgeodecomp/pulls{/number}","milestones_url":"https://api.github.com/repos/sithhell/libgeodecomp/milestones{/number}","notifications_url":"https://api.github.com/repos/sithhell/libgeodecomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sithhell/libgeodecomp/labels{/name}","releases_url":"https://api.github.com/repos/sithhell/libgeodecomp/releases{/id}","deployments_url":"https://api.github.com/repos/sithhell/libgeodecomp/deployments","created_at":"2016-02-12T09:49:27Z","updated_at":"2016-02-12T09:49:33Z","pushed_at":"2016-02-12T12:48:08Z","git_url":"git://github.com/sithhell/libgeodecomp.git","ssh_url":"git@github.com:sithhell/libgeodecomp.git","clone_url":"https://github.com/sithhell/libgeodecomp.git","svn_url":"https://github.com/sithhell/libgeodecomp","homepage":"https://www.libgeodecomp.org","size":13637,"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":"STEllAR-GROUP:master","ref":"master","sha":"3ad8d7dece0fbf7d2d97dd106c6617f66b44f346","user":{"login":"STEllAR-GROUP","id":1780988,"avatar_url":"https://avatars.githubusercontent.com/u/1780988?v=3","gravatar_id":"","url":"https://api.github.com/users/STEllAR-GROUP","html_url":"https://github.com/STEllAR-GROUP","followers_url":"https://api.github.com/users/STEllAR-GROUP/followers","following_url":"https://api.github.com/users/STEllAR-GROUP/following{/other_user}","gists_url":"https://api.github.com/users/STEllAR-GROUP/gists{/gist_id}","starred_url":"https://api.github.com/users/STEllAR-GROUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STEllAR-GROUP/subscriptions","organizations_url":"https://api.github.com/users/STEllAR-GROUP/orgs","repos_url":"https://api.github.com/users/STEllAR-GROUP/repos","events_url":"https://api.github.com/users/STEllAR-GROUP/events{/privacy}","received_events_url":"https://api.github.com/users/STEllAR-GROUP/received_events","type":"Organization","site_admin":false},"repo":{"id":24460821,"name":"libgeodecomp","full_name":"STEllAR-GROUP/libgeodecomp","owner":{"login":"STEllAR-GROUP","id":1780988,"avatar_url":"https://avatars.githubusercontent.com/u/1780988?v=3","gravatar_id":"","url":"https://api.github.com/users/STEllAR-GROUP","html_url":"https://github.com/STEllAR-GROUP","followers_url":"https://api.github.com/users/STEllAR-GROUP/followers","following_url":"https://api.github.com/users/STEllAR-GROUP/following{/other_user}","gists_url":"https://api.github.com/users/STEllAR-GROUP/gists{/gist_id}","starred_url":"https://api.github.com/users/STEllAR-GROUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STEllAR-GROUP/subscriptions","organizations_url":"https://api.github.com/users/STEllAR-GROUP/orgs","repos_url":"https://api.github.com/users/STEllAR-GROUP/repos","events_url":"https://api.github.com/users/STEllAR-GROUP/events{/privacy}","received_events_url":"https://api.github.com/users/STEllAR-GROUP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/STEllAR-GROUP/libgeodecomp","description":"A library for C++/Fortran computer simulations (e.g. stencil codes, mesh-free, unstructured grids, n-body & particle methods). Scales from smartphones to petascale supercomputers (e.g. Titan, Tsubame 2.5, Edison, JUQUEEN, Stampede)","fork":true,"url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp","forks_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/forks","keys_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/teams","hooks_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/hooks","issue_events_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/issues/events{/number}","events_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/events","assignees_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/assignees{/user}","branches_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/branches{/branch}","tags_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/tags","blobs_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/statuses/{sha}","languages_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/languages","stargazers_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/stargazers","contributors_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/contributors","subscribers_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/subscribers","subscription_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/subscription","commits_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/contents/{+path}","compare_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/merges","archive_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/downloads","issues_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/issues{/number}","pulls_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls{/number}","milestones_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/milestones{/number}","notifications_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/labels{/name}","releases_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/releases{/id}","deployments_url":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/deployments","created_at":"2014-09-25T14:14:48Z","updated_at":"2016-01-25T08:52:29Z","pushed_at":"2016-02-12T12:48:46Z","git_url":"git://github.com/STEllAR-GROUP/libgeodecomp.git","ssh_url":"git@github.com:STEllAR-GROUP/libgeodecomp.git","clone_url":"https://github.com/STEllAR-GROUP/libgeodecomp.git","svn_url":"https://github.com/STEllAR-GROUP/libgeodecomp","homepage":"https://www.libgeodecomp.org","size":13637,"stargazers_count":10,"watchers_count":10,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3"},"html":{"href":"https://github.com/STEllAR-GROUP/libgeodecomp/pull/3"},"issue":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/issues/3"},"comments":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/STEllAR-GROUP/libgeodecomp/statuses/de297740bf956b51aec6349a9f35e865d4f4ef76"}}}}