{"action":"closed","issue":{"url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/73","labels_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/73/comments","events_url":"https://api.github.com/repos/swift-nav/piksi_firmware/issues/73/events","html_url":"https://github.com/swift-nav/piksi_firmware/issues/73","id":39474591,"number":73,"title":"Global ephemeris struct is not thread safe","user":{"login":"fnoble","id":163239,"avatar_url":"https://avatars.githubusercontent.com/u/163239?v=3","gravatar_id":"","url":"https://api.github.com/users/fnoble","html_url":"https://github.com/fnoble","followers_url":"https://api.github.com/users/fnoble/followers","following_url":"https://api.github.com/users/fnoble/following{/other_user}","gists_url":"https://api.github.com/users/fnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/fnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnoble/subscriptions","organizations_url":"https://api.github.com/users/fnoble/orgs","repos_url":"https://api.github.com/users/fnoble/repos","events_url":"https://api.github.com/users/fnoble/events{/privacy}","received_events_url":"https://api.github.com/users/fnoble/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swift-nav/piksi_firmware/labels/bug","name":"bug","color":"eb6420"},{"url":"https://api.github.com/repos/swift-nav/piksi_firmware/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-08-05T00:26:28Z","updated_at":"2015-06-25T01:22:57Z","closed_at":"2015-06-25T01:22:57Z","body":"Currently we CPSID before writing but that doesn't help if we were in the process of reading and is quite heavy handed anyway.\r\n\r\nUse a mutex to properly lock around reads and writes of the ephemeris struct.\r\n\r\n<!---\r\n@huboard:{\"order\":4.291534423828125e-05,\"milestone_order\":4.5,\"custom_state\":\"\"}\n-->\r\n"}}