Re: Tkinter.Canvas thread safety problem?

2009-07-07 Thread Peter Otten
Zdenek Maxa wrote: > I would like to ask if you could have a look at the snippet in the > attachment and tell me if that is actually me doing something wrong or > indeed Tkinter thread safety problem and what the workaround could be. http://effbot.org/zone/tkinter-threads.htm -- http://mail.pyt

Re: Tkinter.Canvas thread safety problem?

2009-07-07 Thread Diez B. Roggisch
Zdenek Maxa wrote: > Hello, > > I have started a project using Tkinter. The application performs some > regular checks in a thread and updates Canvas components. I have > observed that sometimes the application hangs when it is about to call > canvas.itemconfig() when the thread is about to termi

Tkinter.Canvas thread safety problem?

2009-07-07 Thread Zdenek Maxa
Hello, I have started a project using Tkinter. The application performs some regular checks in a thread and updates Canvas components. I have observed that sometimes the application hangs when it is about to call canvas.itemconfig() when the thread is about to terminate in the next loop. Experime