From: Hidetoshi NAGAI Date: 2011-04-30T07:27:07+09:00 Subject: Re: Tk : non blocking Tk.mainloop From: Juju SL Subject: Re: Tk : non blocking Tk.mainloop Date: Sat, 30 Apr 2011 04:37:52 +0900 Message-ID: <733de9fa2c38d6afb198de71ac3569a7@ruby-forum.com> > I understand your need and as I asked for help, I have to help you back > :) I'm sorry that I bothered you about it, and thank you for your help. > Running the small script gives the same problem ; here is the end of the (snip) > But the weird thing is that sometimes it runs OK ! (once every 6 ou 7 > times) ; I just run the same command again and again... Well, there is no wrong code about compatibility with your Tcl/Tk and other libraries. And probably, it means that the trouble depends on the race condition between a main thread and a background eventloop (with initializing Tcl/Tk interpreter) thread. I can focus to check when such race condition occurs. Thank you for your report. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) Department of Artificial Intelligence, Kyushu Institute of Technology