{"action":"created","issue":{"url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/105","labels_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/105/comments","events_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/105/events","html_url":"https://github.com/cocaine/cocaine-plugins/pull/105","id":108197722,"number":105,"title":"[Process] Use PR_SET_PDEATHSIG to send SIGTERM to forks","user":{"login":"noxiouz","id":664573,"avatar_url":"https://avatars.githubusercontent.com/u/664573?v=3","gravatar_id":"","url":"https://api.github.com/users/noxiouz","html_url":"https://github.com/noxiouz","followers_url":"https://api.github.com/users/noxiouz/followers","following_url":"https://api.github.com/users/noxiouz/following{/other_user}","gists_url":"https://api.github.com/users/noxiouz/gists{/gist_id}","starred_url":"https://api.github.com/users/noxiouz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noxiouz/subscriptions","organizations_url":"https://api.github.com/users/noxiouz/orgs","repos_url":"https://api.github.com/users/noxiouz/repos","events_url":"https://api.github.com/users/noxiouz/events{/privacy}","received_events_url":"https://api.github.com/users/noxiouz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-24T19:29:53Z","updated_at":"2015-11-25T16:35:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cocaine/cocaine-plugins/pulls/105","html_url":"https://github.com/cocaine/cocaine-plugins/pull/105","diff_url":"https://github.com/cocaine/cocaine-plugins/pull/105.diff","patch_url":"https://github.com/cocaine/cocaine-plugins/pull/105.patch"},"body":"In case of process isolation under Linux we can use this mechanism to send SIGTERM (may be SIGKILL) to all workers even if cocaine-runtime dies."},"comment":{"url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/comments/159664765","html_url":"https://github.com/cocaine/cocaine-plugins/pull/105#issuecomment-159664765","issue_url":"https://api.github.com/repos/cocaine/cocaine-plugins/issues/105","id":159664765,"user":{"login":"kobolog","id":318866,"avatar_url":"https://avatars.githubusercontent.com/u/318866?v=3","gravatar_id":"","url":"https://api.github.com/users/kobolog","html_url":"https://github.com/kobolog","followers_url":"https://api.github.com/users/kobolog/followers","following_url":"https://api.github.com/users/kobolog/following{/other_user}","gists_url":"https://api.github.com/users/kobolog/gists{/gist_id}","starred_url":"https://api.github.com/users/kobolog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobolog/subscriptions","organizations_url":"https://api.github.com/users/kobolog/orgs","repos_url":"https://api.github.com/users/kobolog/repos","events_url":"https://api.github.com/users/kobolog/events{/privacy}","received_events_url":"https://api.github.com/users/kobolog/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T16:35:19Z","updated_at":"2015-11-25T16:35:19Z","body":"From what I see in man, this will send the specified signal to the calling process if its parent dies. It doesn't say anything about threads, so I guess it works with threadgroup leaders, not specific threads. If this is in fact true, then I'd merge this."}}