Panda threading with loader freezing, any help?

I am trying to use panda’s threading module, however, it will freeze with loaders.

I have made this snippet that will always freeze at the freezepoint:

from direct.stdpy import threading
from direct.showbase.ShowBase import ShowBase
from pandac.PandaModules import *

class Thread(threading.Thread):
	def run(self):
		while True:

class Test(ShowBase):
	def __init__(self):

test = Test()

print "freezepoint"
mod = loader.loadModel("models/mod.egg")
print "freezepoint"
text = loader.loadTexture("textures/text.png")

mod.setTexture(text, 0)


Can anyone tell me why? Or how to fix it?

//Edit: looks like it will freeze even without loaders…
Looks like insane bug in panda threading

Also, I do have threading enabled, so I dont get why does it happen.

Due to help of people from IRC I figured it out. The info about Thread.considerYield() should be written on the documentation