[Stackless] uthread and Tk
MS newbee
stackless-python at maya.com
Wed Oct 25 18:56:15 CEST 2000
does the micro thread work with Tk()??
I ran a quick check, and it doesn't seem to work.
def go():
root=Tk()
def yo():
i=0
while 1:
i=i+1
print i
uthread9.new(yo)
uthread9.new(go)
uthread9.run()
in this case since yo is faster, it
keeps printing out the
numbers until it gets killed (by CTRL-C) and when it dies, go kicks in..
any help would be great,
thanks,
_______________________________________________
Stackless mailing list
Stackless at starship.python.net
http://starship.python.net/mailman/listinfo/stackless
More information about the Stackless
mailing list