{"action":"created","issue":{"url":"https://api.github.com/repos/habanero-rice/hclib/issues/8","repository_url":"https://api.github.com/repos/habanero-rice/hclib","labels_url":"https://api.github.com/repos/habanero-rice/hclib/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/habanero-rice/hclib/issues/8/comments","events_url":"https://api.github.com/repos/habanero-rice/hclib/issues/8/events","html_url":"https://github.com/habanero-rice/hclib/issues/8","id":157777967,"number":8,"title":"ESCAPING_ASYNC property not supported","user":{"login":"DaoWen","id":1783674,"avatar_url":"https://avatars.githubusercontent.com/u/1783674?v=3","gravatar_id":"","url":"https://api.github.com/users/DaoWen","html_url":"https://github.com/DaoWen","followers_url":"https://api.github.com/users/DaoWen/followers","following_url":"https://api.github.com/users/DaoWen/following{/other_user}","gists_url":"https://api.github.com/users/DaoWen/gists{/gist_id}","starred_url":"https://api.github.com/users/DaoWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaoWen/subscriptions","organizations_url":"https://api.github.com/users/DaoWen/orgs","repos_url":"https://api.github.com/users/DaoWen/repos","events_url":"https://api.github.com/users/DaoWen/events{/privacy}","received_events_url":"https://api.github.com/users/DaoWen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-31T21:45:24Z","updated_at":"2016-06-02T13:14:52Z","closed_at":null,"body":"We currently support \"escaping\" asyncs internally (they're used for our fiber-based finish-scope continuations), but the `ESCAPING_ASYNC` property does not seem to be supported through the user-facing API.\r\n\r\nWe should add support for \"escaping\" asyncs and/or remove the `ESCAPING_ASYNC` definition. (We don't have to implement this via a property.)\r\n\r\nI recommend supporting \"escaping\" asyncs. Currently, apps that synchronize via DDTs rather than nested finish scopes see a significant amount of contention on the implicit top-level finish scope because very async has to check-in/out of that one finish scope. Using \"escaping\" asyncs removes this point of contention.\r\n\r\nOn a side note, I think \"escape\" might already have a set meaning in the literature, and I'm not sure if this usage conflicts (i.e., I may not have picked the best name for this, and we may want to revisit that topic)."},"comment":{"url":"https://api.github.com/repos/habanero-rice/hclib/issues/comments/223287528","html_url":"https://github.com/habanero-rice/hclib/issues/8#issuecomment-223287528","issue_url":"https://api.github.com/repos/habanero-rice/hclib/issues/8","id":223287528,"user":{"login":"DaoWen","id":1783674,"avatar_url":"https://avatars.githubusercontent.com/u/1783674?v=3","gravatar_id":"","url":"https://api.github.com/users/DaoWen","html_url":"https://github.com/DaoWen","followers_url":"https://api.github.com/users/DaoWen/followers","following_url":"https://api.github.com/users/DaoWen/following{/other_user}","gists_url":"https://api.github.com/users/DaoWen/gists{/gist_id}","starred_url":"https://api.github.com/users/DaoWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaoWen/subscriptions","organizations_url":"https://api.github.com/users/DaoWen/orgs","repos_url":"https://api.github.com/users/DaoWen/repos","events_url":"https://api.github.com/users/DaoWen/events{/privacy}","received_events_url":"https://api.github.com/users/DaoWen/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T13:14:52Z","updated_at":"2016-06-02T13:14:52Z","body":"One thing that might be problematic with supporting finish-free asyncs is how they interact with our termination algorithm. I think it would be up to the user to properly synchronize at the top-level such that the implicit <i>end finish</i> in `hclib_finalize` does not complete until all the finish-free asyncs return. Since this is an \"advanced\" feature for optimization, I think that sounds like a reasonable requirement."}}
{"actor":{"display_login":"DaoWen"}}