{"action":"created","issue":{"url":"https://api.github.com/repos/genodelabs/genode/issues/1956","repository_url":"https://api.github.com/repos/genodelabs/genode","labels_url":"https://api.github.com/repos/genodelabs/genode/issues/1956/labels{/name}","comments_url":"https://api.github.com/repos/genodelabs/genode/issues/1956/comments","events_url":"https://api.github.com/repos/genodelabs/genode/issues/1956/events","html_url":"https://github.com/genodelabs/genode/issues/1956","id":153026959,"number":1956,"title":"NOVA: add option to return EC state information on recall","user":{"login":"cproc","id":1306467,"avatar_url":"https://avatars.githubusercontent.com/u/1306467?v=3","gravatar_id":"","url":"https://api.github.com/users/cproc","html_url":"https://github.com/cproc","followers_url":"https://api.github.com/users/cproc/followers","following_url":"https://api.github.com/users/cproc/following{/other_user}","gists_url":"https://api.github.com/users/cproc/gists{/gist_id}","starred_url":"https://api.github.com/users/cproc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cproc/subscriptions","organizations_url":"https://api.github.com/users/cproc/orgs","repos_url":"https://api.github.com/users/cproc/repos","events_url":"https://api.github.com/users/cproc/events{/privacy}","received_events_url":"https://api.github.com/users/cproc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/genodelabs/genode/labels/feature","name":"feature","color":"1b7921"}],"state":"open","locked":false,"assignee":{"login":"cproc","id":1306467,"avatar_url":"https://avatars.githubusercontent.com/u/1306467?v=3","gravatar_id":"","url":"https://api.github.com/users/cproc","html_url":"https://github.com/cproc","followers_url":"https://api.github.com/users/cproc/followers","following_url":"https://api.github.com/users/cproc/following{/other_user}","gists_url":"https://api.github.com/users/cproc/gists{/gist_id}","starred_url":"https://api.github.com/users/cproc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cproc/subscriptions","organizations_url":"https://api.github.com/users/cproc/orgs","repos_url":"https://api.github.com/users/cproc/repos","events_url":"https://api.github.com/users/cproc/events{/privacy}","received_events_url":"https://api.github.com/users/cproc/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-05-04T14:32:57Z","updated_at":"2016-05-09T15:54:24Z","closed_at":null,"body":"Currently, a user (GDB) who is interested in the current state of a thread on NOVA must wait until the thread enters its recall handler. This can take a long time if the thread is currently blocking on a semaphore or if it is an entrypoint thread which can only enter the recall handler after receiving an IPC message from a different thread.\r\n\r\nThe commit\r\n\r\nhttps://github.com/cproc/NOVA/commit/e7a0ade319e3a9d4c7fde0ca05a1dc075c4faafa\r\n\r\nadds an option to the NOVA kernel which makes the 'recall' syscall return the state immediately in the UTCB, except when the thread is currently running (on a different CPU). In that case, a 'timeout' return status indicates that the state could not be determined at this time.\r\n\r\n@alex-ab: please review and integrate into your NOVA repository"},"comment":{"url":"https://api.github.com/repos/genodelabs/genode/issues/comments/217905781","html_url":"https://github.com/genodelabs/genode/issues/1956#issuecomment-217905781","issue_url":"https://api.github.com/repos/genodelabs/genode/issues/1956","id":217905781,"user":{"login":"cproc","id":1306467,"avatar_url":"https://avatars.githubusercontent.com/u/1306467?v=3","gravatar_id":"","url":"https://api.github.com/users/cproc","html_url":"https://github.com/cproc","followers_url":"https://api.github.com/users/cproc/followers","following_url":"https://api.github.com/users/cproc/following{/other_user}","gists_url":"https://api.github.com/users/cproc/gists{/gist_id}","starred_url":"https://api.github.com/users/cproc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cproc/subscriptions","organizations_url":"https://api.github.com/users/cproc/orgs","repos_url":"https://api.github.com/users/cproc/repos","events_url":"https://api.github.com/users/cproc/events{/privacy}","received_events_url":"https://api.github.com/users/cproc/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T15:54:24Z","updated_at":"2016-05-09T15:54:24Z","body":"@alex-ab: that works"}}