{"action":"created","issue":{"url":"https://api.github.com/repos/dlang/druntime/issues/1565","repository_url":"https://api.github.com/repos/dlang/druntime","labels_url":"https://api.github.com/repos/dlang/druntime/issues/1565/labels{/name}","comments_url":"https://api.github.com/repos/dlang/druntime/issues/1565/comments","events_url":"https://api.github.com/repos/dlang/druntime/issues/1565/events","html_url":"https://github.com/dlang/druntime/pull/1565","id":153612071,"number":1565,"title":"Fix Issue 15939","user":{"login":"9il","id":845083,"avatar_url":"https://avatars.githubusercontent.com/u/845083?v=3","gravatar_id":"","url":"https://api.github.com/users/9il","html_url":"https://github.com/9il","followers_url":"https://api.github.com/users/9il/followers","following_url":"https://api.github.com/users/9il/following{/other_user}","gists_url":"https://api.github.com/users/9il/gists{/gist_id}","starred_url":"https://api.github.com/users/9il/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9il/subscriptions","organizations_url":"https://api.github.com/users/9il/orgs","repos_url":"https://api.github.com/users/9il/repos","events_url":"https://api.github.com/users/9il/events{/privacy}","received_events_url":"https://api.github.com/users/9il/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-05-07T19:11:06Z","updated_at":"2016-07-02T17:59:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dlang/druntime/pulls/1565","html_url":"https://github.com/dlang/druntime/pull/1565","diff_url":"https://github.com/dlang/druntime/pull/1565.diff","patch_url":"https://github.com/dlang/druntime/pull/1565.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/dlang/druntime/issues/comments/230114337","html_url":"https://github.com/dlang/druntime/pull/1565#issuecomment-230114337","issue_url":"https://api.github.com/repos/dlang/druntime/issues/1565","id":230114337,"user":{"login":"joakim-noah","id":5930876,"avatar_url":"https://avatars.githubusercontent.com/u/5930876?v=3","gravatar_id":"","url":"https://api.github.com/users/joakim-noah","html_url":"https://github.com/joakim-noah","followers_url":"https://api.github.com/users/joakim-noah/followers","following_url":"https://api.github.com/users/joakim-noah/following{/other_user}","gists_url":"https://api.github.com/users/joakim-noah/gists{/gist_id}","starred_url":"https://api.github.com/users/joakim-noah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakim-noah/subscriptions","organizations_url":"https://api.github.com/users/joakim-noah/orgs","repos_url":"https://api.github.com/users/joakim-noah/repos","events_url":"https://api.github.com/users/joakim-noah/events{/privacy}","received_events_url":"https://api.github.com/users/joakim-noah/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T17:59:38Z","updated_at":"2016-07-02T17:59:38Z","body":"I just saw this PR, tried it on Android and it seems to work around [a long-standing issue where `SIGUSR1` caused Android apps to hang](http://wiki.dlang.org/Build_LDC_for_Android#Directions_for_future_work), likely because [the Android runtime also uses it to force a GC collection](https://android.googlesource.com/platform/art/+/lollipop-release/runtime/signal_catcher.cc#163).\r\n\r\nCan you also add the definitions of `SIGRTMIN` and `SIGRTMAX` for bionic as part of this pull? Here's what you'd have to add after the FreeBSD section in `core.sys.posix.signal`:\r\n```\r\nelse version (CRuntime_Bionic) {\r\n    enum SIGRTMIN = 32;\r\n    version(ARM)\r\n        enum SIGRTMAX = 64;\r\n    else version(X86)\r\n        enum SIGRTMAX = 64;\r\n    else version(MIPS32)\r\n        enum SIGRTMAX = 128;\r\n    else\r\n        static assert(false, \"Architecture not supported.\");\r\n}\r\n```"}}
{"actor":{"display_login":"joakim-noah"}}