summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-17 13:52:20 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-12-17 13:52:20 (GMT)
commitbf72b7163018924e42a272b4e70601f394e840e6 (patch)
tree136f95e14a00efac07b26fa78973048ad28f9ebd /Lib/idlelib/PyShell.py
parent6f5b741a4696bc8f331b1d9c77307940528813ff (diff)
downloadcpython-bf72b7163018924e42a272b4e70601f394e840e6.zip
cpython-bf72b7163018924e42a272b4e70601f394e840e6.tar.gz
cpython-bf72b7163018924e42a272b4e70601f394e840e6.tar.bz2
Refactor:
* Improve algorithm -- no more O(n) steps except sched.cancel(). * Improve thread safety of sched.run() and sched.empty() (other threads could alter the queue between the time the queue was first checked and when the lead event was deleted). * Localize variable access in sched.run() to minimize overhead.
Diffstat (limited to 'Lib/idlelib/PyShell.py')
0 files changed, 0 insertions, 0 deletions