{"action":"created","issue":{"url":"https://api.github.com/repos/tomaka/glium/issues/449","labels_url":"https://api.github.com/repos/tomaka/glium/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/tomaka/glium/issues/449/comments","events_url":"https://api.github.com/repos/tomaka/glium/issues/449/events","html_url":"https://github.com/tomaka/glium/pull/449","id":56530237,"number":449,"title":"Modified data source traits to support taking Copy-on-Write data.","user":{"login":"dylanede","id":10339269,"avatar_url":"https://avatars.githubusercontent.com/u/10339269?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanede","html_url":"https://github.com/dylanede","followers_url":"https://api.github.com/users/dylanede/followers","following_url":"https://api.github.com/users/dylanede/following{/other_user}","gists_url":"https://api.github.com/users/dylanede/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanede/subscriptions","organizations_url":"https://api.github.com/users/dylanede/orgs","repos_url":"https://api.github.com/users/dylanede/repos","events_url":"https://api.github.com/users/dylanede/events{/privacy}","received_events_url":"https://api.github.com/users/dylanede/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-04T14:07:44Z","updated_at":"2015-02-04T14:18:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tomaka/glium/pulls/449","html_url":"https://github.com/tomaka/glium/pull/449","diff_url":"https://github.com/tomaka/glium/pull/449.diff","patch_url":"https://github.com/tomaka/glium/pull/449.patch"},"body":"In the process, added optionally synchronising exec function to Context. Made texture creation and uploading synchronise with the GL thread if using shared data.\r\n\r\nThis patch should not affect existing user code that does not manually implement data sources."},"comment":{"url":"https://api.github.com/repos/tomaka/glium/issues/comments/72861069","html_url":"https://github.com/tomaka/glium/pull/449#issuecomment-72861069","issue_url":"https://api.github.com/repos/tomaka/glium/issues/449","id":72861069,"user":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T14:18:57Z","updated_at":"2015-02-04T14:18:57Z","body":"I understand the point of `exec_maybe_sync`, but in the line where I added the comment, you explicitely wrote `display.context.context.exec_maybe_sync(false, move |: ctxt| {`."}}