GilSafeSingleLock(g_graphicsContext): UI unresponsive

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Koying Offline
Team-Kodi Member
Posts: 1,974
Joined: Sep 2008
Reputation: 44
Location: Brussels, Belgium
Post: #1
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?
find quote
Koying Offline
Team-Kodi Member
Posts: 1,974
Joined: Sep 2008
Reputation: 44
Location: Brussels, Belgium
Post: #2
Pull request created: https://github.com/xbmc/xbmc/pull/1204
find quote