{"action":"created","issue":{"url":"https://api.github.com/repos/domokit/mojo/issues/501","repository_url":"https://api.github.com/repos/domokit/mojo","labels_url":"https://api.github.com/repos/domokit/mojo/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/domokit/mojo/issues/501/comments","events_url":"https://api.github.com/repos/domokit/mojo/issues/501/events","html_url":"https://github.com/domokit/mojo/issues/501","id":114326531,"number":501,"title":"Mojo shared buffer's properties should be queryable.","user":{"login":"johngro","id":7463187,"avatar_url":"https://avatars.githubusercontent.com/u/7463187?v=3","gravatar_id":"","url":"https://api.github.com/users/johngro","html_url":"https://github.com/johngro","followers_url":"https://api.github.com/users/johngro/followers","following_url":"https://api.github.com/users/johngro/following{/other_user}","gists_url":"https://api.github.com/users/johngro/gists{/gist_id}","starred_url":"https://api.github.com/users/johngro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngro/subscriptions","organizations_url":"https://api.github.com/users/johngro/orgs","repos_url":"https://api.github.com/users/johngro/repos","events_url":"https://api.github.com/users/johngro/events{/privacy}","received_events_url":"https://api.github.com/users/johngro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/domokit/mojo/labels/edk","name":"edk","color":"5319e7"},{"url":"https://api.github.com/repos/domokit/mojo/labels/enhancement","name":"enhancement","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"viettrungluu-cr","id":7061740,"avatar_url":"https://avatars.githubusercontent.com/u/7061740?v=3","gravatar_id":"","url":"https://api.github.com/users/viettrungluu-cr","html_url":"https://github.com/viettrungluu-cr","followers_url":"https://api.github.com/users/viettrungluu-cr/followers","following_url":"https://api.github.com/users/viettrungluu-cr/following{/other_user}","gists_url":"https://api.github.com/users/viettrungluu-cr/gists{/gist_id}","starred_url":"https://api.github.com/users/viettrungluu-cr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viettrungluu-cr/subscriptions","organizations_url":"https://api.github.com/users/viettrungluu-cr/orgs","repos_url":"https://api.github.com/users/viettrungluu-cr/repos","events_url":"https://api.github.com/users/viettrungluu-cr/events{/privacy}","received_events_url":"https://api.github.com/users/viettrungluu-cr/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-10-30T18:20:32Z","updated_at":"2016-03-16T17:17:10Z","closed_at":null,"body":"Current, shared memory buffer in mojo can be..\r\n1) Created\r\n2) Duplicated (for marshaling across a mojo interface)\r\n3) Mapped\r\n4) Unmapped\r\n\r\nWhen the buffers are created, the properties are established (size, read/write permissions, etc..).  If a buffer handle is sent to another application, however, the application has no way to query those properties.  For example, it must be told out-of-band (or know a-priori) what the size of the buffer is in order to be able to correctly map it.\r\n\r\nInstead of forcing two applications to communicate these properties out of band (and potentially lie about them, for some unknown nefarious purpose), we should have a function which allows someone with a shared buffer handle to query these properties directly."},"comment":{"url":"https://api.github.com/repos/domokit/mojo/issues/comments/197439308","html_url":"https://github.com/domokit/mojo/issues/501#issuecomment-197439308","issue_url":"https://api.github.com/repos/domokit/mojo/issues/501","id":197439308,"user":{"login":"viettrungluu-cr","id":7061740,"avatar_url":"https://avatars.githubusercontent.com/u/7061740?v=3","gravatar_id":"","url":"https://api.github.com/users/viettrungluu-cr","html_url":"https://github.com/viettrungluu-cr","followers_url":"https://api.github.com/users/viettrungluu-cr/followers","following_url":"https://api.github.com/users/viettrungluu-cr/following{/other_user}","gists_url":"https://api.github.com/users/viettrungluu-cr/gists{/gist_id}","starred_url":"https://api.github.com/users/viettrungluu-cr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viettrungluu-cr/subscriptions","organizations_url":"https://api.github.com/users/viettrungluu-cr/orgs","repos_url":"https://api.github.com/users/viettrungluu-cr/repos","events_url":"https://api.github.com/users/viettrungluu-cr/events{/privacy}","received_events_url":"https://api.github.com/users/viettrungluu-cr/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T17:17:10Z","updated_at":"2016-03-16T17:17:10Z","body":"Status update: This should now be usable from C/C++.\r\n\r\nIt remains to make this available to other languages:\r\n* Dart: @johnmccutchan @zanderso \r\n* Java: @qsr \r\n* Go: ??? @vardhan-cr Maybe you can take a look at this?\r\n* JavaScript: haha, jk"}}