{"action":"created","issue":{"url":"https://api.github.com/repos/ninja-build/ninja/issues/1140","repository_url":"https://api.github.com/repos/ninja-build/ninja","labels_url":"https://api.github.com/repos/ninja-build/ninja/issues/1140/labels{/name}","comments_url":"https://api.github.com/repos/ninja-build/ninja/issues/1140/comments","events_url":"https://api.github.com/repos/ninja-build/ninja/issues/1140/events","html_url":"https://github.com/ninja-build/ninja/pull/1140","id":151356470,"number":1140,"title":"Add GNU make jobserver client support","user":{"login":"stefanb2","id":9963933,"avatar_url":"https://avatars3.githubusercontent.com/u/9963933?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanb2","html_url":"https://github.com/stefanb2","followers_url":"https://api.github.com/users/stefanb2/followers","following_url":"https://api.github.com/users/stefanb2/following{/other_user}","gists_url":"https://api.github.com/users/stefanb2/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanb2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanb2/subscriptions","organizations_url":"https://api.github.com/users/stefanb2/orgs","repos_url":"https://api.github.com/users/stefanb2/repos","events_url":"https://api.github.com/users/stefanb2/events{/privacy}","received_events_url":"https://api.github.com/users/stefanb2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-04-27T10:51:15Z","updated_at":"2017-03-10T10:53:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ninja-build/ninja/pulls/1140","html_url":"https://github.com/ninja-build/ninja/pull/1140","diff_url":"https://github.com/ninja-build/ninja/pull/1140.diff","patch_url":"https://github.com/ninja-build/ninja/pull/1140.patch"},"body":"- add new TokenPool interface\n- GNU make implementation for TokenPool parses and verifies the magic\n  information from the MAKEFLAGS environment variable\n- RealCommandRunner tries to acquire TokenPool\n  - if no token pool is available then there is no change in behaviour\n- When a token pool is available then RealCommandRunner behaviour\n  changes as follows\n  - CanRunMore() only returns true if TokenPool::Acquire() returns true\n  - StartCommand() calls TokenPool::Reserve()\n  - WaitForCommand() calls TokenPool::Release()\n\nDocumentation for GNU make jobserver\n\n  http://make.mad-scientist.net/papers/jobserver-implementation/\n\nFixes https://github.com/ninja-build/ninja/issues/1139\n"},"comment":{"url":"https://api.github.com/repos/ninja-build/ninja/issues/comments/285639254","html_url":"https://github.com/ninja-build/ninja/pull/1140#issuecomment-285639254","issue_url":"https://api.github.com/repos/ninja-build/ninja/issues/1140","id":285639254,"user":{"login":"fabio-porcedda","id":1491907,"avatar_url":"https://avatars0.githubusercontent.com/u/1491907?v=3","gravatar_id":"","url":"https://api.github.com/users/fabio-porcedda","html_url":"https://github.com/fabio-porcedda","followers_url":"https://api.github.com/users/fabio-porcedda/followers","following_url":"https://api.github.com/users/fabio-porcedda/following{/other_user}","gists_url":"https://api.github.com/users/fabio-porcedda/gists{/gist_id}","starred_url":"https://api.github.com/users/fabio-porcedda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabio-porcedda/subscriptions","organizations_url":"https://api.github.com/users/fabio-porcedda/orgs","repos_url":"https://api.github.com/users/fabio-porcedda/repos","events_url":"https://api.github.com/users/fabio-porcedda/events{/privacy}","received_events_url":"https://api.github.com/users/fabio-porcedda/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T10:53:27Z","updated_at":"2017-03-10T10:53:27Z","body":"I would like too have this feature merged, i simply cannot convert all projects to ninja-build because i'm not allowed to do that.\r\n\r\n@stefanb2 Thanks a lot for your work"}}
{"actor":{"display_login":"fabio-porcedda"}}