[Python-Dev] PEP needed? Introducing Tcl objects (original) (raw)
David Ascher DavidA@ActiveState.com
Fri, 15 Feb 2002 15:17:17 -0800
- Previous message: [Python-Dev] PEP needed? Introducing Tcl objects
- Next message: [Python-Dev] PEP needed? Introducing Tcl objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
While we're on the topic of Tkinter, I got an email from Jeff Hobbs (Tcl guy at AS) re: Tkinter. He suspects that in:
Py_BEGIN_ALLOW_THREADS
PyThread_acquire_lock(tcl_lock, 1);
tcl_tstate = tstate;
result = Tcl_DoOneEvent(TCL_DONT_WAIT);
tcl_tstate = NULL;
PyThread_release_lock(tcl_lock);
if (result == 0)
Sleep(20);
Py_END_ALLOW_THREADS
The Sleep() call is a perf problem. If anyone wants to discuss it with Jeff, I've cc'ed him here.
building bridges,
--da
- Previous message: [Python-Dev] PEP needed? Introducing Tcl objects
- Next message: [Python-Dev] PEP needed? Introducing Tcl objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]