{"action":"created","issue":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1504","labels_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1504/labels{/name}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1504/comments","events_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1504/events","html_url":"https://github.com/cleanflight/cleanflight/pull/1504","id":117804271,"number":1504,"title":"Cooperative task scheduler","user":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars.githubusercontent.com/u/11059099?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cleanflight/cleanflight/milestones/10","html_url":"https://github.com/cleanflight/cleanflight/milestones/1.12.0","labels_url":"https://api.github.com/repos/cleanflight/cleanflight/milestones/10/labels","id":1245946,"number":10,"title":"1.12.0","description":null,"creator":{"login":"hydra","id":57075,"avatar_url":"https://avatars.githubusercontent.com/u/57075?v=3","gravatar_id":"","url":"https://api.github.com/users/hydra","html_url":"https://github.com/hydra","followers_url":"https://api.github.com/users/hydra/followers","following_url":"https://api.github.com/users/hydra/following{/other_user}","gists_url":"https://api.github.com/users/hydra/gists{/gist_id}","starred_url":"https://api.github.com/users/hydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydra/subscriptions","organizations_url":"https://api.github.com/users/hydra/orgs","repos_url":"https://api.github.com/users/hydra/repos","events_url":"https://api.github.com/users/hydra/events{/privacy}","received_events_url":"https://api.github.com/users/hydra/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2015-08-07T19:03:49Z","updated_at":"2015-12-14T19:39:10Z","due_on":null,"closed_at":null},"comments":64,"created_at":"2015-11-19T12:29:28Z","updated_at":"2015-12-18T09:32:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1504","html_url":"https://github.com/cleanflight/cleanflight/pull/1504","diff_url":"https://github.com/cleanflight/cleanflight/pull/1504.diff","patch_url":"https://github.com/cleanflight/cleanflight/pull/1504.patch"},"body":"A very simple task scheduler to improve latency/jitter."},"comment":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/comments/165725053","html_url":"https://github.com/cleanflight/cleanflight/pull/1504#issuecomment-165725053","issue_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1504","id":165725053,"user":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars.githubusercontent.com/u/11059099?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T09:32:02Z","updated_at":"2015-12-18T09:32:02Z","body":"@borisbstyle \r\nto keep scheduler as generic as possible, i'll use `desiredPeriod` parameter and a special \"REALTIME\" priority for this.\r\ngyro sync initialisation code will need to call `rescheduleTask(TASK_GYROPID, _value_)` with expected gyro interrupt period.\r\n\r\n@hydra\r\nI still need that gyro sync to debug the scheduler!"}}