{"action":"created","issue":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/937","labels_url":"https://api.github.com/repos/solettaproject/soletta/issues/937/labels{/name}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/937/comments","events_url":"https://api.github.com/repos/solettaproject/soletta/issues/937/events","html_url":"https://github.com/solettaproject/soletta/pull/937","id":112836540,"number":937,"title":"Async v4","user":{"login":"edersondisouza","id":3177551,"avatar_url":"https://avatars.githubusercontent.com/u/3177551?v=3","gravatar_id":"","url":"https://api.github.com/users/edersondisouza","html_url":"https://github.com/edersondisouza","followers_url":"https://api.github.com/users/edersondisouza/followers","following_url":"https://api.github.com/users/edersondisouza/following{/other_user}","gists_url":"https://api.github.com/users/edersondisouza/gists{/gist_id}","starred_url":"https://api.github.com/users/edersondisouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edersondisouza/subscriptions","organizations_url":"https://api.github.com/users/edersondisouza/orgs","repos_url":"https://api.github.com/users/edersondisouza/repos","events_url":"https://api.github.com/users/edersondisouza/events{/privacy}","received_events_url":"https://api.github.com/users/edersondisouza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-22T16:05:10Z","updated_at":"2015-10-26T19:05:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/937","html_url":"https://github.com/solettaproject/soletta/pull/937","diff_url":"https://github.com/solettaproject/soletta/pull/937.diff","patch_url":"https://github.com/solettaproject/soletta/pull/937.patch"},"body":"v4:\r\nFixed issues with timeouted implementation of memmap.\r\n\r\nv3:\r\nNo more delayed as API parameter. It's now exclusive to memmap, defined via mapping file and adjustable via C API. Tests updated to check it.\r\nCommit order changed so fixes and EEPROM map version happen before async stuff.\r\n\r\nv2:\r\nFixed pointed issues;\r\nAdded assert that _FORTIFY_SOURCE=2 complained, thanks to @lpereira;\r\nEEPROM starts with 0xff, and not 0x00. Added code to handle version 0xff as no version of memory map. Updated calamari sample to make use of that;\r\nAdded a commit that has a delayed option, so some requests can be delayed by up to SOL_PERSISTENCE_WRITE_TIMEOUT envvar. It's separated from main commit of async, as I'm not sure about this approach. If it goes in, it should (probably) be squashed onto that commit - or it maybe dropped altogether.\r\n\r\nFirst try at making persistence APIs async. Although memory map, file system and efivars were changed in a uniform fashion, only memory map actually does async writing - but all of them return the real result of writing on a callback.\r\nTests were also added, memap only now - although make check-valgrind failed here in a way I couldn't understand, no leaks, but an assert failure o.O.\r\n"},"comment":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/comments/151251732","html_url":"https://github.com/solettaproject/soletta/pull/937#issuecomment-151251732","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/937","id":151251732,"user":{"login":"edersondisouza","id":3177551,"avatar_url":"https://avatars.githubusercontent.com/u/3177551?v=3","gravatar_id":"","url":"https://api.github.com/users/edersondisouza","html_url":"https://github.com/edersondisouza","followers_url":"https://api.github.com/users/edersondisouza/followers","following_url":"https://api.github.com/users/edersondisouza/following{/other_user}","gists_url":"https://api.github.com/users/edersondisouza/gists{/gist_id}","starred_url":"https://api.github.com/users/edersondisouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edersondisouza/subscriptions","organizations_url":"https://api.github.com/users/edersondisouza/orgs","repos_url":"https://api.github.com/users/edersondisouza/repos","events_url":"https://api.github.com/users/edersondisouza/events{/privacy}","received_events_url":"https://api.github.com/users/edersondisouza/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T19:05:56Z","updated_at":"2015-10-26T19:05:56Z","body":"Ah, got it."}}