{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2870","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2870/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2870/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2870/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/2870","id":70965133,"number":2870,"title":"native: add native periph timer","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Device%20driver","name":"Device driver","color":"0052cc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/native","name":"native","color":"aaaaaa"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/new%20feature","name":"new feature","color":"e11d21"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Ready%20for%20CI%20build","name":"Ready for CI build","color":"bfdadc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/TimerTaskForce","name":"TimerTaskForce","color":"f0c0ff"}],"state":"open","locked":false,"assignee":{"login":"LudwigOrtmann","id":3739173,"avatar_url":"https://avatars.githubusercontent.com/u/3739173?v=3","gravatar_id":"","url":"https://api.github.com/users/LudwigOrtmann","html_url":"https://github.com/LudwigOrtmann","followers_url":"https://api.github.com/users/LudwigOrtmann/followers","following_url":"https://api.github.com/users/LudwigOrtmann/following{/other_user}","gists_url":"https://api.github.com/users/LudwigOrtmann/gists{/gist_id}","starred_url":"https://api.github.com/users/LudwigOrtmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LudwigOrtmann/subscriptions","organizations_url":"https://api.github.com/users/LudwigOrtmann/orgs","repos_url":"https://api.github.com/users/LudwigOrtmann/repos","events_url":"https://api.github.com/users/LudwigOrtmann/events{/privacy}","received_events_url":"https://api.github.com/users/LudwigOrtmann/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/12","html_url":"https://github.com/RIOT-OS/RIOT/milestones/Release%202015.06","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/12/labels","id":1088995,"number":12,"title":"Release 2015.06","description":"This release aims mainly to include the brand new network stack.","creator":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"open_issues":64,"closed_issues":138,"state":"open","created_at":"2015-04-29T10:11:27Z","updated_at":"2015-06-05T07:35:58Z","due_on":"2015-06-29T22:00:00Z","closed_at":null},"comments":26,"created_at":"2015-04-25T20:43:50Z","updated_at":"2015-06-05T10:39:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2870","html_url":"https://github.com/RIOT-OS/RIOT/pull/2870","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2870.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2870.patch"},"body":"This PR adds a simple wrapper from periph/timer.h to host itimers.\r\n\r\nIt is based un @LudwigOrtmann hwtimer implementation. I've dropped the multiplexing, though.\r\n\r\nOne of the commits marks some functions in ```hwtimer.c``` ```static```, as one of them was colliding with ```timer.c```."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/109255699","html_url":"https://github.com/RIOT-OS/RIOT/pull/2870#issuecomment-109255699","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2870","id":109255699,"user":{"login":"emmanuelsearch","id":3717254,"avatar_url":"https://avatars.githubusercontent.com/u/3717254?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanuelsearch","html_url":"https://github.com/emmanuelsearch","followers_url":"https://api.github.com/users/emmanuelsearch/followers","following_url":"https://api.github.com/users/emmanuelsearch/following{/other_user}","gists_url":"https://api.github.com/users/emmanuelsearch/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanuelsearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanuelsearch/subscriptions","organizations_url":"https://api.github.com/users/emmanuelsearch/orgs","repos_url":"https://api.github.com/users/emmanuelsearch/repos","events_url":"https://api.github.com/users/emmanuelsearch/events{/privacy}","received_events_url":"https://api.github.com/users/emmanuelsearch/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T10:39:32Z","updated_at":"2015-06-05T10:39:32Z","body":"mmmh define working. It seems to hang after some time (no consistent duration after which it hangs though). Below an example of what I get (but it can also happen that it hangs sooner, e.g. right after the first message is received in the second thread):\r\n```\r\nkernel_init(): This is RIOT! (Version: 2014.12-1718-gd3dadd-native-timer)\r\nkernel_init(): jumping into first task...\r\nThis is thread 3\r\nsending 1st msg\r\nnow=0:79 -> every 2.0s: Hello World\r\nsending 2nd msg\r\nnow=0:147 -> every 5.0s: This is a Test\r\nThis is thread 4\r\nsec=1 min=0 hour=0\r\nnow=2:308 -> every 2.0s: Hello World\r\nsec=2 min=0 hour=0\r\nsec=3 min=0 hour=0\r\nnow=4:2115 -> every 2.0s: Hello World\r\nsec=4 min=0 hour=0\r\nnow=5:3641 -> every 5.0s: This is a Test\r\nsec=5 min=0 hour=0\r\nnow=6:2658 -> every 2.0s: Hello World\r\nsec=6 min=0 hour=0\r\nsec=7 min=0 hour=0\r\nnow=8:4536 -> every 2.0s: Hello World\r\nsec=8 min=0 hour=0\r\nsec=9 min=0 hour=0\r\nnow=10:8861 -> every 5.0s: This is a Test\r\n```\r\n(and then it hangs)"}}