xbmc/xbmc — comment on commit 4a42a82ddaead62f8b8f135b4fbb821930bab15c
File: xbmc/interfaces/python/XBPyThread.cpp line 338
By cptspiff:

Yes I am aware. This suffices in the real life scenarios I have encountered. Feel free to change if you have a better solution.

----- Reply message -----
Fra: "jimfcarroll"
Dato: tir., des. 27, 2011 20:25
Emne: [xbmc] fixed: we always need to release the python thread state when we do anything locking the gfx context dammit (4a42a82)
Til: "Arne Morten Kvarving"

Just to be clear, PyXBMCGUILock only releases the python GIL in order to acquire the GUI Lock (graphics context lock) ... but then requires it immediately. If you want to leave the Python GIL open for the duration of lines 320-338, this doesn't do that.

---
Reply to this email directly or view it on GitHub:
https://github.com/xbmc/xbmc/commit/4a42a82ddaead62f8b8f135b4fbb821930bab15c#commitcomment-822537