{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/10","id":186410758,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2NDEwNzU4","html_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm/pull/10","diff_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm/pull/10.diff","patch_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm/pull/10.patch","issue_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/10","number":10,"state":"closed","locked":false,"title":"created Semaphores to Synch processes","user":{"login":"daviddapuma","id":28991450,"node_id":"MDQ6VXNlcjI4OTkxNDUw","avatar_url":"https://avatars1.githubusercontent.com/u/28991450?v=4","gravatar_id":"","url":"https://api.github.com/users/daviddapuma","html_url":"https://github.com/daviddapuma","followers_url":"https://api.github.com/users/daviddapuma/followers","following_url":"https://api.github.com/users/daviddapuma/following{/other_user}","gists_url":"https://api.github.com/users/daviddapuma/gists{/gist_id}","starred_url":"https://api.github.com/users/daviddapuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviddapuma/subscriptions","organizations_url":"https://api.github.com/users/daviddapuma/orgs","repos_url":"https://api.github.com/users/daviddapuma/repos","events_url":"https://api.github.com/users/daviddapuma/events{/privacy}","received_events_url":"https://api.github.com/users/daviddapuma/received_events","type":"User","site_admin":false},"body":"I have modified the classes Process and Multicast to add the semaphores needed to have a god synch between the processes.\r\n\r\nSo that, I have put semaphores when a procces try to change the variable order, and another when tehy want to consult something in  the tail, like extracting a message from it.\r\n\r\nIt is needed another one, to synch the multicast, this is only used to control when it starts and to realize when it finishes.\r\n\r\nSo, i have added a parameter for the multicast class, that is this semaphore, and a release there to notify the correct conclussion of the multicast task.","created_at":"2018-05-07T17:19:46Z","updated_at":"2018-06-09T16:47:29Z","closed_at":"2018-06-09T16:47:29Z","merged_at":"2018-06-09T16:47:29Z","merge_commit_sha":"b0f95c7aa0361967440b19eaa3a5ae24a06a2534","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/10/commits","review_comments_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/10/comments","review_comment_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/10/comments","statuses_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/statuses/bbcb642644b17c04b2023ef04761efe3b7aa4284","head":{"label":"ceskmcfran:synch-processes","ref":"synch-processes","sha":"bbcb642644b17c04b2023ef04761efe3b7aa4284","user":{"login":"ceskmcfran","id":28634357,"node_id":"MDQ6VXNlcjI4NjM0MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/28634357?v=4","gravatar_id":"","url":"https://api.github.com/users/ceskmcfran","html_url":"https://github.com/ceskmcfran","followers_url":"https://api.github.com/users/ceskmcfran/followers","following_url":"https://api.github.com/users/ceskmcfran/following{/other_user}","gists_url":"https://api.github.com/users/ceskmcfran/gists{/gist_id}","starred_url":"https://api.github.com/users/ceskmcfran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceskmcfran/subscriptions","organizations_url":"https://api.github.com/users/ceskmcfran/orgs","repos_url":"https://api.github.com/users/ceskmcfran/repos","events_url":"https://api.github.com/users/ceskmcfran/events{/privacy}","received_events_url":"https://api.github.com/users/ceskmcfran/received_events","type":"User","site_admin":false},"repo":{"id":129765663,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk3NjU2NjM=","name":"USALprojects-ISIS-Algorithm","full_name":"ceskmcfran/USALprojects-ISIS-Algorithm","owner":{"login":"ceskmcfran","id":28634357,"node_id":"MDQ6VXNlcjI4NjM0MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/28634357?v=4","gravatar_id":"","url":"https://api.github.com/users/ceskmcfran","html_url":"https://github.com/ceskmcfran","followers_url":"https://api.github.com/users/ceskmcfran/followers","following_url":"https://api.github.com/users/ceskmcfran/following{/other_user}","gists_url":"https://api.github.com/users/ceskmcfran/gists{/gist_id}","starred_url":"https://api.github.com/users/ceskmcfran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceskmcfran/subscriptions","organizations_url":"https://api.github.com/users/ceskmcfran/orgs","repos_url":"https://api.github.com/users/ceskmcfran/repos","events_url":"https://api.github.com/users/ceskmcfran/events{/privacy}","received_events_url":"https://api.github.com/users/ceskmcfran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm","description":null,"fork":false,"url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm","forks_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/forks","keys_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/teams","hooks_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/hooks","issue_events_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/events{/number}","events_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/events","assignees_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/assignees{/user}","branches_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/branches{/branch}","tags_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/tags","blobs_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/statuses/{sha}","languages_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/languages","stargazers_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/stargazers","contributors_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/contributors","subscribers_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/subscribers","subscription_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/subscription","commits_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/contents/{+path}","compare_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/merges","archive_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/downloads","issues_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues{/number}","pulls_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls{/number}","milestones_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/milestones{/number}","notifications_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/labels{/name}","releases_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/releases{/id}","deployments_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/deployments","created_at":"2018-04-16T15:30:49Z","updated_at":"2018-05-04T16:22:51Z","pushed_at":"2018-06-09T16:47:28Z","git_url":"git://github.com/ceskmcfran/USALprojects-ISIS-Algorithm.git","ssh_url":"git@github.com:ceskmcfran/USALprojects-ISIS-Algorithm.git","clone_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm.git","svn_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm","homepage":null,"size":4422,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ceskmcfran:master","ref":"master","sha":"28e10317b55f31da50109845b8a05197b9096e65","user":{"login":"ceskmcfran","id":28634357,"node_id":"MDQ6VXNlcjI4NjM0MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/28634357?v=4","gravatar_id":"","url":"https://api.github.com/users/ceskmcfran","html_url":"https://github.com/ceskmcfran","followers_url":"https://api.github.com/users/ceskmcfran/followers","following_url":"https://api.github.com/users/ceskmcfran/following{/other_user}","gists_url":"https://api.github.com/users/ceskmcfran/gists{/gist_id}","starred_url":"https://api.github.com/users/ceskmcfran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceskmcfran/subscriptions","organizations_url":"https://api.github.com/users/ceskmcfran/orgs","repos_url":"https://api.github.com/users/ceskmcfran/repos","events_url":"https://api.github.com/users/ceskmcfran/events{/privacy}","received_events_url":"https://api.github.com/users/ceskmcfran/received_events","type":"User","site_admin":false},"repo":{"id":129765663,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk3NjU2NjM=","name":"USALprojects-ISIS-Algorithm","full_name":"ceskmcfran/USALprojects-ISIS-Algorithm","owner":{"login":"ceskmcfran","id":28634357,"node_id":"MDQ6VXNlcjI4NjM0MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/28634357?v=4","gravatar_id":"","url":"https://api.github.com/users/ceskmcfran","html_url":"https://github.com/ceskmcfran","followers_url":"https://api.github.com/users/ceskmcfran/followers","following_url":"https://api.github.com/users/ceskmcfran/following{/other_user}","gists_url":"https://api.github.com/users/ceskmcfran/gists{/gist_id}","starred_url":"https://api.github.com/users/ceskmcfran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceskmcfran/subscriptions","organizations_url":"https://api.github.com/users/ceskmcfran/orgs","repos_url":"https://api.github.com/users/ceskmcfran/repos","events_url":"https://api.github.com/users/ceskmcfran/events{/privacy}","received_events_url":"https://api.github.com/users/ceskmcfran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm","description":null,"fork":false,"url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm","forks_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/forks","keys_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/teams","hooks_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/hooks","issue_events_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/events{/number}","events_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/events","assignees_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/assignees{/user}","branches_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/branches{/branch}","tags_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/tags","blobs_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/statuses/{sha}","languages_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/languages","stargazers_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/stargazers","contributors_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/contributors","subscribers_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/subscribers","subscription_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/subscription","commits_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/contents/{+path}","compare_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/merges","archive_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/downloads","issues_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues{/number}","pulls_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls{/number}","milestones_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/milestones{/number}","notifications_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/labels{/name}","releases_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/releases{/id}","deployments_url":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/deployments","created_at":"2018-04-16T15:30:49Z","updated_at":"2018-05-04T16:22:51Z","pushed_at":"2018-06-09T16:47:28Z","git_url":"git://github.com/ceskmcfran/USALprojects-ISIS-Algorithm.git","ssh_url":"git@github.com:ceskmcfran/USALprojects-ISIS-Algorithm.git","clone_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm.git","svn_url":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm","homepage":null,"size":4422,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/10"},"html":{"href":"https://github.com/ceskmcfran/USALprojects-ISIS-Algorithm/pull/10"},"issue":{"href":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/10"},"comments":{"href":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/ceskmcfran/USALprojects-ISIS-Algorithm/statuses/bbcb642644b17c04b2023ef04761efe3b7aa4284"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ceskmcfran","id":28634357,"node_id":"MDQ6VXNlcjI4NjM0MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/28634357?v=4","gravatar_id":"","url":"https://api.github.com/users/ceskmcfran","html_url":"https://github.com/ceskmcfran","followers_url":"https://api.github.com/users/ceskmcfran/followers","following_url":"https://api.github.com/users/ceskmcfran/following{/other_user}","gists_url":"https://api.github.com/users/ceskmcfran/gists{/gist_id}","starred_url":"https://api.github.com/users/ceskmcfran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceskmcfran/subscriptions","organizations_url":"https://api.github.com/users/ceskmcfran/orgs","repos_url":"https://api.github.com/users/ceskmcfran/repos","events_url":"https://api.github.com/users/ceskmcfran/events{/privacy}","received_events_url":"https://api.github.com/users/ceskmcfran/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":85,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"ceskmcfran"}}