{"action":"created","issue":{"url":"https://api.github.com/repos/mono/mono/issues/11833","repository_url":"https://api.github.com/repos/mono/mono","labels_url":"https://api.github.com/repos/mono/mono/issues/11833/labels{/name}","comments_url":"https://api.github.com/repos/mono/mono/issues/11833/comments","events_url":"https://api.github.com/repos/mono/mono/issues/11833/events","html_url":"https://github.com/mono/mono/pull/11833","id":385485872,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NDQ3MDgw","number":11833,"title":"[coop] Separate host and target suspend policies","user":{"login":"lambdageek","id":480437,"node_id":"MDQ6VXNlcjQ4MDQzNw==","avatar_url":"https://avatars0.githubusercontent.com/u/480437?v=4","gravatar_id":"","url":"https://api.github.com/users/lambdageek","html_url":"https://github.com/lambdageek","followers_url":"https://api.github.com/users/lambdageek/followers","following_url":"https://api.github.com/users/lambdageek/following{/other_user}","gists_url":"https://api.github.com/users/lambdageek/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdageek/subscriptions","organizations_url":"https://api.github.com/users/lambdageek/orgs","repos_url":"https://api.github.com/users/lambdageek/repos","events_url":"https://api.github.com/users/lambdageek/events{/privacy}","received_events_url":"https://api.github.com/users/lambdageek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T22:33:58Z","updated_at":"2018-11-28T23:39:50Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/mono/mono/pulls/11833","html_url":"https://github.com/mono/mono/pull/11833","diff_url":"https://github.com/mono/mono/pull/11833.diff","patch_url":"https://github.com/mono/mono/pull/11833.patch"},"body":"Always set target suspend policy to coop when cross-compiling to watchOS.\r\n\r\nTarget policy affects two places:\r\n- safepoint generation in AOT in mini\r\n- blocking transition insertion in marshal-ilgen\r\n\r\nEverything else (primarily metadata) cares about host policy (same as before).\r\n\r\nThere's one tricky bit:  if `MONO_ENABLE_BLOCKING_TRANSITION` env var is set, it affects both host and target, for backward compatibility.  (although this variable wasn't widely publicized or used in production, afaik).\r\n\r\nThis addresses #11765 which was caused by mono/monodevelop#6327 where `MONO_THREADS_SUSPEND=preemptive` affected both host policy and the watchOS cross compiler target.  Now the env var is just about the host."},"comment":{"url":"https://api.github.com/repos/mono/mono/issues/comments/442648618","html_url":"https://github.com/mono/mono/pull/11833#issuecomment-442648618","issue_url":"https://api.github.com/repos/mono/mono/issues/11833","id":442648618,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjY0ODYxOA==","user":{"login":"vargaz","id":186301,"node_id":"MDQ6VXNlcjE4NjMwMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/186301?v=4","gravatar_id":"","url":"https://api.github.com/users/vargaz","html_url":"https://github.com/vargaz","followers_url":"https://api.github.com/users/vargaz/followers","following_url":"https://api.github.com/users/vargaz/following{/other_user}","gists_url":"https://api.github.com/users/vargaz/gists{/gist_id}","starred_url":"https://api.github.com/users/vargaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vargaz/subscriptions","organizations_url":"https://api.github.com/users/vargaz/orgs","repos_url":"https://api.github.com/users/vargaz/repos","events_url":"https://api.github.com/users/vargaz/events{/privacy}","received_events_url":"https://api.github.com/users/vargaz/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T23:39:50Z","updated_at":"2018-11-28T23:39:50Z","author_association":"MEMBER","body":"We should avoid safepoints at least on wasm which has no async gc.\r\n"}}
{"actor":{"display_login":"vargaz"}}