E&S CVS Commit: PEAK - Fixes for miscellaneous race conditions. It's important to remember that

pje at eby-sarna.com pje at eby-sarna.com
Tue Nov 25 11:23:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Tue Nov 25 16:22:29 UTC 2003

Modified Files:
	PEAK/src/peak/running: interfaces.py process.py supervisor.py

Log Message:
Fixes for miscellaneous race conditions.  It's important to remember that
interacting with other processes is like working with threads, only much
worse, because they can do things even in the middle of executing C code!
So, even if we check right before a kill() or a pipe read/write, the other
process could still go away and the operation could fail.  Thus, all
interprocess communication operations must trap exceptions.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/running/interfaces.py.diff?r1=1.23&r2=1.24
http://cvs.eby-sarna.com/PEAK/src/peak/running/process.py.diff?r1=1.10&r2=1.11
http://cvs.eby-sarna.com/PEAK/src/peak/running/supervisor.py.diff?r1=1.7&r2=1.8

To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 PEAK/src/peak/running/interfaces.py
cvs rdiff -r1.10 -r1.11 PEAK/src/peak/running/process.py
cvs rdiff -r1.7 -r1.8 PEAK/src/peak/running/supervisor.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