Kodi Community Forum
GilSafeSingleLock(g_graphicsContext): UI unresponsive - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: GilSafeSingleLock(g_graphicsContext): UI unresponsive (/showthread.php?tid=136485)



GilSafeSingleLock(g_graphicsContext): UI unresponsive - Koying - 2012-07-19

There is, IMHO, something fishy with GilSafeSingleLock.

I have cases of the UI being unresponsive and I think it is due to a kind of race between 2 addons.
One of the is doing a window operation, so a GilSafeSingleLock is created but by the time the lock on g_graphicsContext is got, it takes ages to get the GIL back, resulting in a frozen UI.

Is it supposed to be so?


RE: GilSafeSingleLock(g_graphicsContext): UI unresponsive - Koying - 2012-07-23

Pull request created: https://github.com/xbmc/xbmc/pull/1204