E&S CVS Commit: PEAK - 'peak.running.scheduler.UntwistedReactor' now supports a configuration
pje at eby-sarna.com
pje at eby-sarna.com
Fri Aug 15 17:25:00 EDT 2003
Module Name: PEAK
Committed By: pje
Date: Fri Aug 15 21:24:16 UTC 2003
Modified Files:
PEAK: CHANGES.txt
PEAK/src/peak: peak.ini
PEAK/src/peak/running: scheduler.py
Log Message:
'peak.running.scheduler.UntwistedReactor' now supports a configuration
property ('peak.running.reactor.checkInterval') to determine how long it
should run 'select()' calls for, when there are no scheduled tasks. Also,
fixed reactor needlessly sleeping for the defined check interval, when
there are neither scheduled tasks nor I/O handlers. This is important for
Windows, where signals (e.g. ^C, BREAK) aren't processed during 'sleep()'.
(Of course, this'll also burn CPU in a tight loop, but hey, it's Windows,
and you won't have anything important running there, right?)
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.71&r2=1.72
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.73&r2=1.74
http://cvs.eby-sarna.com/PEAK/src/peak/running/scheduler.py.diff?r1=1.18&r2=1.19
To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 PEAK/CHANGES.txt
cvs rdiff -r1.73 -r1.74 PEAK/src/peak/peak.ini
cvs rdiff -r1.18 -r1.19 PEAK/src/peak/running/scheduler.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
More information about the source-changes
mailing list