{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/pcarrier/baba/pulls/8","id":49056933,"html_url":"https://github.com/pcarrier/baba/pull/8","diff_url":"https://github.com/pcarrier/baba/pull/8.diff","patch_url":"https://github.com/pcarrier/baba/pull/8.patch","issue_url":"https://api.github.com/repos/pcarrier/baba/issues/8","number":8,"state":"open","locked":false,"title":"BUG: waitpid() busy loop","user":{"login":"pcarrier","id":8641,"avatar_url":"https://avatars.githubusercontent.com/u/8641?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarrier","html_url":"https://github.com/pcarrier","followers_url":"https://api.github.com/users/pcarrier/followers","following_url":"https://api.github.com/users/pcarrier/following{/other_user}","gists_url":"https://api.github.com/users/pcarrier/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarrier/subscriptions","organizations_url":"https://api.github.com/users/pcarrier/orgs","repos_url":"https://api.github.com/users/pcarrier/repos","events_url":"https://api.github.com/users/pcarrier/events{/privacy}","received_events_url":"https://api.github.com/users/pcarrier/received_events","type":"User","site_admin":false},"body":"Once waitpid returns, we enter a busy loop waiting for more children,\r\neven after it returns 0 which indicates that there are no more children.\r\nSignals are no longer forwarded.\r\n\r\nThis change addresses the issue. Manually tested with\r\ntests/3_children.sh.\r\n\r\nCloses #5.","created_at":"2015-10-28T19:44:34Z","updated_at":"2015-10-28T19:44:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08e34b2b314d1be481ccac6fd8367f88a85e54d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pcarrier/baba/pulls/8/commits","review_comments_url":"https://api.github.com/repos/pcarrier/baba/pulls/8/comments","review_comment_url":"https://api.github.com/repos/pcarrier/baba/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pcarrier/baba/issues/8/comments","statuses_url":"https://api.github.com/repos/pcarrier/baba/statuses/7f2f5f0030eba9aac9b012c0b340a32ee4aa0712","head":{"label":"pcarrier:bugs/pcarrier/infinite_loop","ref":"bugs/pcarrier/infinite_loop","sha":"7f2f5f0030eba9aac9b012c0b340a32ee4aa0712","user":{"login":"pcarrier","id":8641,"avatar_url":"https://avatars.githubusercontent.com/u/8641?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarrier","html_url":"https://github.com/pcarrier","followers_url":"https://api.github.com/users/pcarrier/followers","following_url":"https://api.github.com/users/pcarrier/following{/other_user}","gists_url":"https://api.github.com/users/pcarrier/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarrier/subscriptions","organizations_url":"https://api.github.com/users/pcarrier/orgs","repos_url":"https://api.github.com/users/pcarrier/repos","events_url":"https://api.github.com/users/pcarrier/events{/privacy}","received_events_url":"https://api.github.com/users/pcarrier/received_events","type":"User","site_admin":false},"repo":{"id":27479146,"name":"baba","full_name":"pcarrier/baba","owner":{"login":"pcarrier","id":8641,"avatar_url":"https://avatars.githubusercontent.com/u/8641?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarrier","html_url":"https://github.com/pcarrier","followers_url":"https://api.github.com/users/pcarrier/followers","following_url":"https://api.github.com/users/pcarrier/following{/other_user}","gists_url":"https://api.github.com/users/pcarrier/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarrier/subscriptions","organizations_url":"https://api.github.com/users/pcarrier/orgs","repos_url":"https://api.github.com/users/pcarrier/repos","events_url":"https://api.github.com/users/pcarrier/events{/privacy}","received_events_url":"https://api.github.com/users/pcarrier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pcarrier/baba","description":"Maintain a process hierarchy","fork":false,"url":"https://api.github.com/repos/pcarrier/baba","forks_url":"https://api.github.com/repos/pcarrier/baba/forks","keys_url":"https://api.github.com/repos/pcarrier/baba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcarrier/baba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcarrier/baba/teams","hooks_url":"https://api.github.com/repos/pcarrier/baba/hooks","issue_events_url":"https://api.github.com/repos/pcarrier/baba/issues/events{/number}","events_url":"https://api.github.com/repos/pcarrier/baba/events","assignees_url":"https://api.github.com/repos/pcarrier/baba/assignees{/user}","branches_url":"https://api.github.com/repos/pcarrier/baba/branches{/branch}","tags_url":"https://api.github.com/repos/pcarrier/baba/tags","blobs_url":"https://api.github.com/repos/pcarrier/baba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcarrier/baba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcarrier/baba/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcarrier/baba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcarrier/baba/statuses/{sha}","languages_url":"https://api.github.com/repos/pcarrier/baba/languages","stargazers_url":"https://api.github.com/repos/pcarrier/baba/stargazers","contributors_url":"https://api.github.com/repos/pcarrier/baba/contributors","subscribers_url":"https://api.github.com/repos/pcarrier/baba/subscribers","subscription_url":"https://api.github.com/repos/pcarrier/baba/subscription","commits_url":"https://api.github.com/repos/pcarrier/baba/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcarrier/baba/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcarrier/baba/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcarrier/baba/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcarrier/baba/contents/{+path}","compare_url":"https://api.github.com/repos/pcarrier/baba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcarrier/baba/merges","archive_url":"https://api.github.com/repos/pcarrier/baba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcarrier/baba/downloads","issues_url":"https://api.github.com/repos/pcarrier/baba/issues{/number}","pulls_url":"https://api.github.com/repos/pcarrier/baba/pulls{/number}","milestones_url":"https://api.github.com/repos/pcarrier/baba/milestones{/number}","notifications_url":"https://api.github.com/repos/pcarrier/baba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcarrier/baba/labels{/name}","releases_url":"https://api.github.com/repos/pcarrier/baba/releases{/id}","created_at":"2014-12-03T09:21:20Z","updated_at":"2015-10-27T16:43:42Z","pushed_at":"2015-10-28T19:44:34Z","git_url":"git://github.com/pcarrier/baba.git","ssh_url":"git@github.com:pcarrier/baba.git","clone_url":"https://github.com/pcarrier/baba.git","svn_url":"https://github.com/pcarrier/baba","homepage":"","size":148,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"pcarrier:master","ref":"master","sha":"4f371ee319d590d13bb44b5776f02567babcf85d","user":{"login":"pcarrier","id":8641,"avatar_url":"https://avatars.githubusercontent.com/u/8641?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarrier","html_url":"https://github.com/pcarrier","followers_url":"https://api.github.com/users/pcarrier/followers","following_url":"https://api.github.com/users/pcarrier/following{/other_user}","gists_url":"https://api.github.com/users/pcarrier/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarrier/subscriptions","organizations_url":"https://api.github.com/users/pcarrier/orgs","repos_url":"https://api.github.com/users/pcarrier/repos","events_url":"https://api.github.com/users/pcarrier/events{/privacy}","received_events_url":"https://api.github.com/users/pcarrier/received_events","type":"User","site_admin":false},"repo":{"id":27479146,"name":"baba","full_name":"pcarrier/baba","owner":{"login":"pcarrier","id":8641,"avatar_url":"https://avatars.githubusercontent.com/u/8641?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarrier","html_url":"https://github.com/pcarrier","followers_url":"https://api.github.com/users/pcarrier/followers","following_url":"https://api.github.com/users/pcarrier/following{/other_user}","gists_url":"https://api.github.com/users/pcarrier/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarrier/subscriptions","organizations_url":"https://api.github.com/users/pcarrier/orgs","repos_url":"https://api.github.com/users/pcarrier/repos","events_url":"https://api.github.com/users/pcarrier/events{/privacy}","received_events_url":"https://api.github.com/users/pcarrier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pcarrier/baba","description":"Maintain a process hierarchy","fork":false,"url":"https://api.github.com/repos/pcarrier/baba","forks_url":"https://api.github.com/repos/pcarrier/baba/forks","keys_url":"https://api.github.com/repos/pcarrier/baba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcarrier/baba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcarrier/baba/teams","hooks_url":"https://api.github.com/repos/pcarrier/baba/hooks","issue_events_url":"https://api.github.com/repos/pcarrier/baba/issues/events{/number}","events_url":"https://api.github.com/repos/pcarrier/baba/events","assignees_url":"https://api.github.com/repos/pcarrier/baba/assignees{/user}","branches_url":"https://api.github.com/repos/pcarrier/baba/branches{/branch}","tags_url":"https://api.github.com/repos/pcarrier/baba/tags","blobs_url":"https://api.github.com/repos/pcarrier/baba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcarrier/baba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcarrier/baba/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcarrier/baba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcarrier/baba/statuses/{sha}","languages_url":"https://api.github.com/repos/pcarrier/baba/languages","stargazers_url":"https://api.github.com/repos/pcarrier/baba/stargazers","contributors_url":"https://api.github.com/repos/pcarrier/baba/contributors","subscribers_url":"https://api.github.com/repos/pcarrier/baba/subscribers","subscription_url":"https://api.github.com/repos/pcarrier/baba/subscription","commits_url":"https://api.github.com/repos/pcarrier/baba/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcarrier/baba/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcarrier/baba/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcarrier/baba/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcarrier/baba/contents/{+path}","compare_url":"https://api.github.com/repos/pcarrier/baba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcarrier/baba/merges","archive_url":"https://api.github.com/repos/pcarrier/baba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcarrier/baba/downloads","issues_url":"https://api.github.com/repos/pcarrier/baba/issues{/number}","pulls_url":"https://api.github.com/repos/pcarrier/baba/pulls{/number}","milestones_url":"https://api.github.com/repos/pcarrier/baba/milestones{/number}","notifications_url":"https://api.github.com/repos/pcarrier/baba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcarrier/baba/labels{/name}","releases_url":"https://api.github.com/repos/pcarrier/baba/releases{/id}","created_at":"2014-12-03T09:21:20Z","updated_at":"2015-10-27T16:43:42Z","pushed_at":"2015-10-28T19:44:34Z","git_url":"git://github.com/pcarrier/baba.git","ssh_url":"git@github.com:pcarrier/baba.git","clone_url":"https://github.com/pcarrier/baba.git","svn_url":"https://github.com/pcarrier/baba","homepage":"","size":148,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pcarrier/baba/pulls/8"},"html":{"href":"https://github.com/pcarrier/baba/pull/8"},"issue":{"href":"https://api.github.com/repos/pcarrier/baba/issues/8"},"comments":{"href":"https://api.github.com/repos/pcarrier/baba/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/pcarrier/baba/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/pcarrier/baba/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pcarrier/baba/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/pcarrier/baba/statuses/7f2f5f0030eba9aac9b012c0b340a32ee4aa0712"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":51,"deletions":37,"changed_files":2}}