{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/pal/issues/25","repository_url":"https://api.github.com/repos/ARMmbed/pal","labels_url":"https://api.github.com/repos/ARMmbed/pal/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/pal/issues/25/comments","events_url":"https://api.github.com/repos/ARMmbed/pal/issues/25/events","html_url":"https://github.com/ARMmbed/pal/issues/25","id":183611967,"number":25,"title":"issuing callbacks based on timer-expiry is potentially risky","user":{"login":"rgrover","id":112704,"avatar_url":"https://avatars.githubusercontent.com/u/112704?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrover","html_url":"https://github.com/rgrover","followers_url":"https://api.github.com/users/rgrover/followers","following_url":"https://api.github.com/users/rgrover/following{/other_user}","gists_url":"https://api.github.com/users/rgrover/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrover/subscriptions","organizations_url":"https://api.github.com/users/rgrover/orgs","repos_url":"https://api.github.com/users/rgrover/repos","events_url":"https://api.github.com/users/rgrover/events{/privacy}","received_events_url":"https://api.github.com/users/rgrover/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-18T07:42:27Z","updated_at":"2016-10-18T07:45:29Z","closed_at":null,"body":"`pal_osTimerCreate(callbackFunc, ...)` and `pal_osTimerStart()` allow applications to schedule future invocations of arbitrary callback functions. The invocation of these callbacks then becomes the responsibility of the platform. This is potentially risky because callbacks can be arbitrarily complex in their use of resources (stack and processing-time).\r\n\r\nAs an example of this problem, if the platform implementor chooses to deploy a dedicated callback-thread to process these callbacks, (s)he would need to make an arbitrary decision about the stack-size of this callback-thread (and its priority). No particular choice of stack-size or priority is guaranteed to work in the general case. This is potentially insecure.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/pal/issues/comments/254431885","html_url":"https://github.com/ARMmbed/pal/issues/25#issuecomment-254431885","issue_url":"https://api.github.com/repos/ARMmbed/pal/issues/25","id":254431885,"user":{"login":"rgrover","id":112704,"avatar_url":"https://avatars.githubusercontent.com/u/112704?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrover","html_url":"https://github.com/rgrover","followers_url":"https://api.github.com/users/rgrover/followers","following_url":"https://api.github.com/users/rgrover/following{/other_user}","gists_url":"https://api.github.com/users/rgrover/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrover/subscriptions","organizations_url":"https://api.github.com/users/rgrover/orgs","repos_url":"https://api.github.com/users/rgrover/repos","events_url":"https://api.github.com/users/rgrover/events{/privacy}","received_events_url":"https://api.github.com/users/rgrover/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T07:45:29Z","updated_at":"2016-10-18T07:45:29Z","body":"related to https://github.com/ARMmbed/pal/issues/20"}}
{"actor":{"display_login":"rgrover"}}