In threads spawned within python the PyContext was never used. In those cases the...
authorJim Carroll <thecarrolls@jiminger.com>
Thu, 24 Jan 2013 22:43:30 +0000 (17:43 -0500)
committerJim Carroll <thecarrolls@jiminger.com>
Thu, 24 Jan 2013 22:43:30 +0000 (17:43 -0500)
commit415fbdef29d0d78eac0481a3250cd98b4007f100
treed40a36cafc097b5eceee9b133dffc96f84b16d2e
parent55e1e268617c49dc3770f2ece09ed6091efab2ad
In threads spawned within python the PyContext was never used. In those cases the releasing/acquiring of the Gil was simply skipped. Therefore scripts that looped over 'sleep' from a python created thread (a typical pattern in python services) would block all other python threads forever.
xbmc/interfaces/python/PyContext.cpp
xbmc/interfaces/python/PyContext.h