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

We need to let the other threads run or we end up with a stalled python thread holding the lock aka a deadlock.

----- Reply message -----
Fra: "jimfcarroll"
Dato: tir., des. 27, 2011 17:33
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"

Do you mean to unlock the python thread state for the duration of the graphics context lock being held? Because (afaict) this doesn't do that. I had written a class that acts as a guard that does what (I think) you're looking for but I think it's on one of my SWIG branches.

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