{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/4370","repository_url":"https://api.github.com/repos/PX4/Firmware","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/4370/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/4370/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/4370/events","html_url":"https://github.com/PX4/Firmware/pull/4370","id":151073193,"number":4370,"title":"uORB synchronization issues","user":{"login":"bkueng","id":281593,"avatar_url":"https://avatars.githubusercontent.com/u/281593?v=3","gravatar_id":"","url":"https://api.github.com/users/bkueng","html_url":"https://github.com/bkueng","followers_url":"https://api.github.com/users/bkueng/followers","following_url":"https://api.github.com/users/bkueng/following{/other_user}","gists_url":"https://api.github.com/users/bkueng/gists{/gist_id}","starred_url":"https://api.github.com/users/bkueng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkueng/subscriptions","organizations_url":"https://api.github.com/users/bkueng/orgs","repos_url":"https://api.github.com/users/bkueng/repos","events_url":"https://api.github.com/users/bkueng/events{/privacy}","received_events_url":"https://api.github.com/users/bkueng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tumbili","id":7610489,"avatar_url":"https://avatars.githubusercontent.com/u/7610489?v=3","gravatar_id":"","url":"https://api.github.com/users/tumbili","html_url":"https://github.com/tumbili","followers_url":"https://api.github.com/users/tumbili/followers","following_url":"https://api.github.com/users/tumbili/following{/other_user}","gists_url":"https://api.github.com/users/tumbili/gists{/gist_id}","starred_url":"https://api.github.com/users/tumbili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tumbili/subscriptions","organizations_url":"https://api.github.com/users/tumbili/orgs","repos_url":"https://api.github.com/users/tumbili/repos","events_url":"https://api.github.com/users/tumbili/events{/privacy}","received_events_url":"https://api.github.com/users/tumbili/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-26T08:25:57Z","updated_at":"2016-04-26T12:17:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/4370","html_url":"https://github.com/PX4/Firmware/pull/4370","diff_url":"https://github.com/PX4/Firmware/pull/4370.diff","patch_url":"https://github.com/PX4/Firmware/pull/4370.patch"},"body":"This fixes some multi-threading issues in uORB.\r\n\r\nThere are some subtle issues here, for example:\r\n* `uint64_t t = ...` is not atomic in general\r\n* neither is `++x`\r\n\r\nOne remaining thing is that DeviceMaster::_node_map is static, which requires a static lock as well. However there exists only a single instance of DeviceMaster, so I suggest to make this non-static. DeviceMaster can be used with PARAM Flavor as well, but in this case the paths are different, so that _node_map still does not need to be static.\r\n\r\nTested both under Posix & NuttX."},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/214720889","html_url":"https://github.com/PX4/Firmware/pull/4370#issuecomment-214720889","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/4370","id":214720889,"user":{"login":"julianoes","id":1419688,"avatar_url":"https://avatars.githubusercontent.com/u/1419688?v=3","gravatar_id":"","url":"https://api.github.com/users/julianoes","html_url":"https://github.com/julianoes","followers_url":"https://api.github.com/users/julianoes/followers","following_url":"https://api.github.com/users/julianoes/following{/other_user}","gists_url":"https://api.github.com/users/julianoes/gists{/gist_id}","starred_url":"https://api.github.com/users/julianoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianoes/subscriptions","organizations_url":"https://api.github.com/users/julianoes/orgs","repos_url":"https://api.github.com/users/julianoes/repos","events_url":"https://api.github.com/users/julianoes/events{/privacy}","received_events_url":"https://api.github.com/users/julianoes/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T12:17:14Z","updated_at":"2016-04-26T12:17:14Z","body":"I asked one question, other than that I see nothing stupid."}}