{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/9","id":62648637,"html_url":"https://github.com/jameswalmsley/RaspberryPi-FreeRTOS/pull/9","diff_url":"https://github.com/jameswalmsley/RaspberryPi-FreeRTOS/pull/9.diff","patch_url":"https://github.com/jameswalmsley/RaspberryPi-FreeRTOS/pull/9.patch","issue_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/issues/9","number":9,"state":"closed","locked":false,"title":"Interrupts: restructure, handle multiple pending interrupts at once","user":{"login":"aklomp","id":1799297,"avatar_url":"https://avatars.githubusercontent.com/u/1799297?v=3","gravatar_id":"","url":"https://api.github.com/users/aklomp","html_url":"https://github.com/aklomp","followers_url":"https://api.github.com/users/aklomp/followers","following_url":"https://api.github.com/users/aklomp/following{/other_user}","gists_url":"https://api.github.com/users/aklomp/gists{/gist_id}","starred_url":"https://api.github.com/users/aklomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklomp/subscriptions","organizations_url":"https://api.github.com/users/aklomp/orgs","repos_url":"https://api.github.com/users/aklomp/repos","events_url":"https://api.github.com/users/aklomp/events{/privacy}","received_events_url":"https://api.github.com/users/aklomp/received_events","type":"User","site_admin":false},"body":"- Handle all pending interrupts inside the interrupt handler instead of just one;\r\n- Remember which interrupts have been enabled and only handle those;\r\n- Rename `interrupts.*` to `irq.*` for brevity;\r\n- Namespace functions as `irqSomething()` for uniformity;\r\n- Use natural `unsigned int` for IRQ numbers;\r\n- Return `void` when function cannot fail.","created_at":"2016-03-12T18:34:52Z","updated_at":"2016-04-13T21:29:23Z","closed_at":"2016-04-13T21:29:23Z","merged_at":"2016-04-13T21:29:23Z","merge_commit_sha":"497979788d2beb6e39e2637339943abf75b50c76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/9/commits","review_comments_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/9/comments","review_comment_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/issues/9/comments","statuses_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/statuses/c92a590050beb801ec73b6109584f991be18eec2","head":{"label":"aklomp:irq","ref":"irq","sha":"c92a590050beb801ec73b6109584f991be18eec2","user":{"login":"aklomp","id":1799297,"avatar_url":"https://avatars.githubusercontent.com/u/1799297?v=3","gravatar_id":"","url":"https://api.github.com/users/aklomp","html_url":"https://github.com/aklomp","followers_url":"https://api.github.com/users/aklomp/followers","following_url":"https://api.github.com/users/aklomp/following{/other_user}","gists_url":"https://api.github.com/users/aklomp/gists{/gist_id}","starred_url":"https://api.github.com/users/aklomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklomp/subscriptions","organizations_url":"https://api.github.com/users/aklomp/orgs","repos_url":"https://api.github.com/users/aklomp/repos","events_url":"https://api.github.com/users/aklomp/events{/privacy}","received_events_url":"https://api.github.com/users/aklomp/received_events","type":"User","site_admin":false},"repo":{"id":53745400,"name":"RaspberryPi-FreeRTOS","full_name":"aklomp/RaspberryPi-FreeRTOS","owner":{"login":"aklomp","id":1799297,"avatar_url":"https://avatars.githubusercontent.com/u/1799297?v=3","gravatar_id":"","url":"https://api.github.com/users/aklomp","html_url":"https://github.com/aklomp","followers_url":"https://api.github.com/users/aklomp/followers","following_url":"https://api.github.com/users/aklomp/following{/other_user}","gists_url":"https://api.github.com/users/aklomp/gists{/gist_id}","starred_url":"https://api.github.com/users/aklomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklomp/subscriptions","organizations_url":"https://api.github.com/users/aklomp/orgs","repos_url":"https://api.github.com/users/aklomp/repos","events_url":"https://api.github.com/users/aklomp/events{/privacy}","received_events_url":"https://api.github.com/users/aklomp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aklomp/RaspberryPi-FreeRTOS","description":"A port of FreeRTOS to the raspberry pi.","fork":true,"url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS","forks_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/forks","keys_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/teams","hooks_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/hooks","issue_events_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/issues/events{/number}","events_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/events","assignees_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/assignees{/user}","branches_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/branches{/branch}","tags_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/tags","blobs_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/statuses/{sha}","languages_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/languages","stargazers_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/stargazers","contributors_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/contributors","subscribers_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/subscribers","subscription_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/subscription","commits_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/contents/{+path}","compare_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/merges","archive_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/downloads","issues_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/issues{/number}","pulls_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/pulls{/number}","milestones_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/milestones{/number}","notifications_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/labels{/name}","releases_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/releases{/id}","deployments_url":"https://api.github.com/repos/aklomp/RaspberryPi-FreeRTOS/deployments","created_at":"2016-03-12T17:56:31Z","updated_at":"2016-03-12T17:56:32Z","pushed_at":"2016-03-14T08:27:21Z","git_url":"git://github.com/aklomp/RaspberryPi-FreeRTOS.git","ssh_url":"git@github.com:aklomp/RaspberryPi-FreeRTOS.git","clone_url":"https://github.com/aklomp/RaspberryPi-FreeRTOS.git","svn_url":"https://github.com/aklomp/RaspberryPi-FreeRTOS","homepage":null,"size":169,"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":"jameswalmsley:master","ref":"master","sha":"7e2c0ee0ab7b5aa0fb9c59f78ba44aae00975207","user":{"login":"jameswalmsley","id":1429260,"avatar_url":"https://avatars.githubusercontent.com/u/1429260?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswalmsley","html_url":"https://github.com/jameswalmsley","followers_url":"https://api.github.com/users/jameswalmsley/followers","following_url":"https://api.github.com/users/jameswalmsley/following{/other_user}","gists_url":"https://api.github.com/users/jameswalmsley/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswalmsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswalmsley/subscriptions","organizations_url":"https://api.github.com/users/jameswalmsley/orgs","repos_url":"https://api.github.com/users/jameswalmsley/repos","events_url":"https://api.github.com/users/jameswalmsley/events{/privacy}","received_events_url":"https://api.github.com/users/jameswalmsley/received_events","type":"User","site_admin":false},"repo":{"id":6643178,"name":"RaspberryPi-FreeRTOS","full_name":"jameswalmsley/RaspberryPi-FreeRTOS","owner":{"login":"jameswalmsley","id":1429260,"avatar_url":"https://avatars.githubusercontent.com/u/1429260?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswalmsley","html_url":"https://github.com/jameswalmsley","followers_url":"https://api.github.com/users/jameswalmsley/followers","following_url":"https://api.github.com/users/jameswalmsley/following{/other_user}","gists_url":"https://api.github.com/users/jameswalmsley/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswalmsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswalmsley/subscriptions","organizations_url":"https://api.github.com/users/jameswalmsley/orgs","repos_url":"https://api.github.com/users/jameswalmsley/repos","events_url":"https://api.github.com/users/jameswalmsley/events{/privacy}","received_events_url":"https://api.github.com/users/jameswalmsley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jameswalmsley/RaspberryPi-FreeRTOS","description":"A port of FreeRTOS to the raspberry pi.","fork":false,"url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS","forks_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/forks","keys_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/teams","hooks_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/hooks","issue_events_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/issues/events{/number}","events_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/events","assignees_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/assignees{/user}","branches_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/branches{/branch}","tags_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/tags","blobs_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/statuses/{sha}","languages_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/languages","stargazers_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/stargazers","contributors_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/contributors","subscribers_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/subscribers","subscription_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/subscription","commits_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/contents/{+path}","compare_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/merges","archive_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/downloads","issues_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/issues{/number}","pulls_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls{/number}","milestones_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/milestones{/number}","notifications_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/labels{/name}","releases_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/releases{/id}","deployments_url":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/deployments","created_at":"2012-11-11T19:19:14Z","updated_at":"2016-04-08T22:44:00Z","pushed_at":"2016-04-13T21:29:23Z","git_url":"git://github.com/jameswalmsley/RaspberryPi-FreeRTOS.git","ssh_url":"git@github.com:jameswalmsley/RaspberryPi-FreeRTOS.git","clone_url":"https://github.com/jameswalmsley/RaspberryPi-FreeRTOS.git","svn_url":"https://github.com/jameswalmsley/RaspberryPi-FreeRTOS","homepage":null,"size":336,"stargazers_count":143,"watchers_count":143,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":1,"forks":66,"open_issues":1,"watchers":143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/9"},"html":{"href":"https://github.com/jameswalmsley/RaspberryPi-FreeRTOS/pull/9"},"issue":{"href":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/issues/9"},"comments":{"href":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/jameswalmsley/RaspberryPi-FreeRTOS/statuses/c92a590050beb801ec73b6109584f991be18eec2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jameswalmsley","id":1429260,"avatar_url":"https://avatars.githubusercontent.com/u/1429260?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswalmsley","html_url":"https://github.com/jameswalmsley","followers_url":"https://api.github.com/users/jameswalmsley/followers","following_url":"https://api.github.com/users/jameswalmsley/following{/other_user}","gists_url":"https://api.github.com/users/jameswalmsley/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswalmsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswalmsley/subscriptions","organizations_url":"https://api.github.com/users/jameswalmsley/orgs","repos_url":"https://api.github.com/users/jameswalmsley/repos","events_url":"https://api.github.com/users/jameswalmsley/events{/privacy}","received_events_url":"https://api.github.com/users/jameswalmsley/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":6,"additions":143,"deletions":183,"changed_files":7}}