GitHub PullRequestEvent at 2014-02-24 21:43:40
Repository: nrjavaserial
Actor: PeteSL
Payload: {"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/5","id":12875804,"html_url":"https://github.com/NeuronRobotics/nrjavaserial/pull/5","diff_url":"https://github.com/NeuronRobotics/nrjavaserial/pull/5.diff","patch_url":"https://github.com/NeuronRobotics/nrjavaserial/pull/5.patch","issue_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/issues/5","number":5,"state":"open","title":"Updated version number to match app version number (3.9.0). Altered RXTXPort to use ReentrantReadWriteLock instead of synchronize().","user":{"login":"PeteSL","id":6762785,"avatar_url":"https://gravatar.com/avatar/09f10e19404a9035a58e063ad1c8ce7f?d=https%3A%2F%2Fidenticons.github.com%2F1efbaa5244686a54ca754cf77266ee20.png&r=x","gravatar_id":"09f10e19404a9035a58e063ad1c8ce7f","url":"https://api.github.com/users/PeteSL","html_url":"https://github.com/PeteSL","followers_url":"https://api.github.com/users/PeteSL/followers","following_url":"https://api.github.com/users/PeteSL/following{/other_user}","gists_url":"https://api.github.com/users/PeteSL/gists{/gist_id}","starred_url":"https://api.github.com/users/PeteSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeteSL/subscriptions","organizations_url":"https://api.github.com/users/PeteSL/orgs","repos_url":"https://api.github.com/users/PeteSL/repos","events_url":"https://api.github.com/users/PeteSL/events{/privacy}","received_events_url":"https://api.github.com/users/PeteSL/received_events","type":"User","site_admin":false},"body":"Altered IOLocked and IOLockedMutex to use ReentrantReadWriteLock eliminating all synchronize() statements in the port IO methods.  This also eliminates 2 significant timing holes: where a read or write starts before the port is closed and the errant use of the non-atomic boolean closeLock variable.  ReadLocks allow for multiple concurrent ReadLocks but do not allow locking with a WriteLock.  A WriteLock cannot occur if ReadLocks are outstanding.  This is exactly what the authors pre-Java 1.5 were trying to accomplish albeit unsuccessfully.","created_at":"2014-02-24T21:43:39Z","updated_at":"2014-02-24T21:43:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/5/commits","review_comments_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/5/comments","review_comment_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/comments/{number}","comments_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/issues/5/comments","statuses_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/statuses/cae9526217894b988f5228711e41a0b06e69d71f","head":{"label":"PeteSL:master","ref":"master","sha":"cae9526217894b988f5228711e41a0b06e69d71f","user":{"login":"PeteSL","id":6762785,"avatar_url":"https://gravatar.com/avatar/09f10e19404a9035a58e063ad1c8ce7f?d=https%3A%2F%2Fidenticons.github.com%2F1efbaa5244686a54ca754cf77266ee20.png&r=x","gravatar_id":"09f10e19404a9035a58e063ad1c8ce7f","url":"https://api.github.com/users/PeteSL","html_url":"https://github.com/PeteSL","followers_url":"https://api.github.com/users/PeteSL/followers","following_url":"https://api.github.com/users/PeteSL/following{/other_user}","gists_url":"https://api.github.com/users/PeteSL/gists{/gist_id}","starred_url":"https://api.github.com/users/PeteSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeteSL/subscriptions","organizations_url":"https://api.github.com/users/PeteSL/orgs","repos_url":"https://api.github.com/users/PeteSL/repos","events_url":"https://api.github.com/users/PeteSL/events{/privacy}","received_events_url":"https://api.github.com/users/PeteSL/received_events","type":"User","site_admin":false},"repo":{"id":17149439,"name":"nrjavaserial","full_name":"PeteSL/nrjavaserial","owner":{"login":"PeteSL","id":6762785,"avatar_url":"https://gravatar.com/avatar/09f10e19404a9035a58e063ad1c8ce7f?d=https%3A%2F%2Fidenticons.github.com%2F1efbaa5244686a54ca754cf77266ee20.png&r=x","gravatar_id":"09f10e19404a9035a58e063ad1c8ce7f","url":"https://api.github.com/users/PeteSL","html_url":"https://github.com/PeteSL","followers_url":"https://api.github.com/users/PeteSL/followers","following_url":"https://api.github.com/users/PeteSL/following{/other_user}","gists_url":"https://api.github.com/users/PeteSL/gists{/gist_id}","starred_url":"https://api.github.com/users/PeteSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeteSL/subscriptions","organizations_url":"https://api.github.com/users/PeteSL/orgs","repos_url":"https://api.github.com/users/PeteSL/repos","events_url":"https://api.github.com/users/PeteSL/events{/privacy}","received_events_url":"https://api.github.com/users/PeteSL/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PeteSL/nrjavaserial","description":"This is a fork of the RXTX project that uses in jar loading of the native code.","fork":true,"url":"https://api.github.com/repos/PeteSL/nrjavaserial","forks_url":"https://api.github.com/repos/PeteSL/nrjavaserial/forks","keys_url":"https://api.github.com/repos/PeteSL/nrjavaserial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeteSL/nrjavaserial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeteSL/nrjavaserial/teams","hooks_url":"https://api.github.com/repos/PeteSL/nrjavaserial/hooks","issue_events_url":"https://api.github.com/repos/PeteSL/nrjavaserial/issues/events{/number}","events_url":"https://api.github.com/repos/PeteSL/nrjavaserial/events","assignees_url":"https://api.github.com/repos/PeteSL/nrjavaserial/assignees{/user}","branches_url":"https://api.github.com/repos/PeteSL/nrjavaserial/branches{/branch}","tags_url":"https://api.github.com/repos/PeteSL/nrjavaserial/tags","blobs_url":"https://api.github.com/repos/PeteSL/nrjavaserial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeteSL/nrjavaserial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeteSL/nrjavaserial/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeteSL/nrjavaserial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeteSL/nrjavaserial/statuses/{sha}","languages_url":"https://api.github.com/repos/PeteSL/nrjavaserial/languages","stargazers_url":"https://api.github.com/repos/PeteSL/nrjavaserial/stargazers","contributors_url":"https://api.github.com/repos/PeteSL/nrjavaserial/contributors","subscribers_url":"https://api.github.com/repos/PeteSL/nrjavaserial/subscribers","subscription_url":"https://api.github.com/repos/PeteSL/nrjavaserial/subscription","commits_url":"https://api.github.com/repos/PeteSL/nrjavaserial/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeteSL/nrjavaserial/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeteSL/nrjavaserial/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeteSL/nrjavaserial/issues/comments/{number}","contents_url":"https://api.github.com/repos/PeteSL/nrjavaserial/contents/{+path}","compare_url":"https://api.github.com/repos/PeteSL/nrjavaserial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeteSL/nrjavaserial/merges","archive_url":"https://api.github.com/repos/PeteSL/nrjavaserial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeteSL/nrjavaserial/downloads","issues_url":"https://api.github.com/repos/PeteSL/nrjavaserial/issues{/number}","pulls_url":"https://api.github.com/repos/PeteSL/nrjavaserial/pulls{/number}","milestones_url":"https://api.github.com/repos/PeteSL/nrjavaserial/milestones{/number}","notifications_url":"https://api.github.com/repos/PeteSL/nrjavaserial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeteSL/nrjavaserial/labels{/name}","releases_url":"https://api.github.com/repos/PeteSL/nrjavaserial/releases{/id}","created_at":"2014-02-24T20:22:35Z","updated_at":"2014-02-24T21:43:39Z","pushed_at":"2014-02-24T21:40:07Z","git_url":"git://github.com/PeteSL/nrjavaserial.git","ssh_url":"git@github.com:PeteSL/nrjavaserial.git","clone_url":"https://github.com/PeteSL/nrjavaserial.git","svn_url":"https://github.com/PeteSL/nrjavaserial","homepage":"","size":3661,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"NeuronRobotics:master","ref":"master","sha":"b2c51b8353e41fbcddeab00544d072a8cb724a9d","user":{"login":"NeuronRobotics","id":6283182,"avatar_url":"https://gravatar.com/avatar/41e1fc72e5b2c1f18472603245f9d9b6?d=https%3A%2F%2Fidenticons.github.com%2Fd90eb88e081e3234ad99a4f794b45f75.png&r=x","gravatar_id":"41e1fc72e5b2c1f18472603245f9d9b6","url":"https://api.github.com/users/NeuronRobotics","html_url":"https://github.com/NeuronRobotics","followers_url":"https://api.github.com/users/NeuronRobotics/followers","following_url":"https://api.github.com/users/NeuronRobotics/following{/other_user}","gists_url":"https://api.github.com/users/NeuronRobotics/gists{/gist_id}","starred_url":"https://api.github.com/users/NeuronRobotics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeuronRobotics/subscriptions","organizations_url":"https://api.github.com/users/NeuronRobotics/orgs","repos_url":"https://api.github.com/users/NeuronRobotics/repos","events_url":"https://api.github.com/users/NeuronRobotics/events{/privacy}","received_events_url":"https://api.github.com/users/NeuronRobotics/received_events","type":"Organization","site_admin":false},"repo":{"id":15957792,"name":"nrjavaserial","full_name":"NeuronRobotics/nrjavaserial","owner":{"login":"NeuronRobotics","id":6283182,"avatar_url":"https://gravatar.com/avatar/41e1fc72e5b2c1f18472603245f9d9b6?d=https%3A%2F%2Fidenticons.github.com%2Fd90eb88e081e3234ad99a4f794b45f75.png&r=x","gravatar_id":"41e1fc72e5b2c1f18472603245f9d9b6","url":"https://api.github.com/users/NeuronRobotics","html_url":"https://github.com/NeuronRobotics","followers_url":"https://api.github.com/users/NeuronRobotics/followers","following_url":"https://api.github.com/users/NeuronRobotics/following{/other_user}","gists_url":"https://api.github.com/users/NeuronRobotics/gists{/gist_id}","starred_url":"https://api.github.com/users/NeuronRobotics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeuronRobotics/subscriptions","organizations_url":"https://api.github.com/users/NeuronRobotics/orgs","repos_url":"https://api.github.com/users/NeuronRobotics/repos","events_url":"https://api.github.com/users/NeuronRobotics/events{/privacy}","received_events_url":"https://api.github.com/users/NeuronRobotics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NeuronRobotics/nrjavaserial","description":"This is a fork of the RXTX project that uses in jar loading of the native code.","fork":false,"url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial","forks_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/forks","keys_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/teams","hooks_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/hooks","issue_events_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/issues/events{/number}","events_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/events","assignees_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/assignees{/user}","branches_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/branches{/branch}","tags_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/tags","blobs_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/git/refs{/sha}","trees_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/statuses/{sha}","languages_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/languages","stargazers_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/stargazers","contributors_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/contributors","subscribers_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/subscribers","subscription_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/subscription","commits_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/commits{/sha}","git_commits_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/git/commits{/sha}","comments_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/comments{/number}","issue_comment_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/issues/comments/{number}","contents_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/contents/{+path}","compare_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/merges","archive_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/downloads","issues_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/issues{/number}","pulls_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls{/number}","milestones_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/milestones{/number}","notifications_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/labels{/name}","releases_url":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/releases{/id}","created_at":"2014-01-16T04:22:03Z","updated_at":"2014-02-23T17:03:42Z","pushed_at":"2014-02-23T17:03:41Z","git_url":"git://github.com/NeuronRobotics/nrjavaserial.git","ssh_url":"git@github.com:NeuronRobotics/nrjavaserial.git","clone_url":"https://github.com/NeuronRobotics/nrjavaserial.git","svn_url":"https://github.com/NeuronRobotics/nrjavaserial","homepage":"","size":3661,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":1,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/5"},"html":{"href":"https://github.com/NeuronRobotics/nrjavaserial/pull/5"},"issue":{"href":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/issues/5"},"comments":{"href":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/NeuronRobotics/nrjavaserial/statuses/cae9526217894b988f5228711e41a0b06e69d71f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":66,"deletions":108,"changed_files":3}}