{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/7016","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/7016/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/7016/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/7016/events","html_url":"https://github.com/xbmc/xbmc/pull/7016","id":70939254,"number":7016,"title":"videorefclock: fix deadlock in glx method","user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-25T17:18:03Z","updated_at":"2015-04-26T07:23:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/7016","html_url":"https://github.com/xbmc/xbmc/pull/7016","diff_url":"https://github.com/xbmc/xbmc/pull/7016.diff","patch_url":"https://github.com/xbmc/xbmc/pull/7016.patch"},"body":"fix http://trac.kodi.tv/ticket/15919\r\ndeadlock in video ref clock"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/96336433","html_url":"https://github.com/xbmc/xbmc/pull/7016#issuecomment-96336433","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/7016","id":96336433,"user":{"login":"fritsch","id":1089309,"avatar_url":"https://avatars.githubusercontent.com/u/1089309?v=3","gravatar_id":"","url":"https://api.github.com/users/fritsch","html_url":"https://github.com/fritsch","followers_url":"https://api.github.com/users/fritsch/followers","following_url":"https://api.github.com/users/fritsch/following{/other_user}","gists_url":"https://api.github.com/users/fritsch/gists{/gist_id}","starred_url":"https://api.github.com/users/fritsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fritsch/subscriptions","organizations_url":"https://api.github.com/users/fritsch/orgs","repos_url":"https://api.github.com/users/fritsch/repos","events_url":"https://api.github.com/users/fritsch/events{/privacy}","received_events_url":"https://api.github.com/users/fritsch/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T07:23:09Z","updated_at":"2015-04-26T07:23:09Z","body":"@miigotu \r\n\r\nTry:\r\n```\r\n{\r\nint x = 5;\r\n}\r\nprintf(x);\r\n```\r\n\r\nYou won't get it compiled, right? That's cause of the scope. We use those {} to automatically leave the lock without calling .Leave() and the like all the time, furthermore the object can be cleaned up automatically."}}