[Subversion] / PEAK / CHANGES.txt  

Revision 1606


Jump to revision:
Previous Next
Author: pje
Date: Mon Jan 19 03:35:36 2004 UTC (20 years, 2 months ago)

Log Message:

Lots of 'peak.events' migration:

Added 'events.ISignalSource', that returns 'events.Broadcaster' objects for
signals.  This allows you to yield to signals in an 'events.Thread', or
safely set one-time callbacks on them.

'running.ISignalManager' is now DEPRECATED; please use
'events.ISignalSource' instead.

'running.IMainLoop' has been changed to use an 'events.IReadable' for
the 'lastActivity' attribute, and the 'setExitCode' and 'childForked'
methods have been replaced with an 'exitWith()' method.

The 'peak.running.mainLoop.signalHandler' property has been replaced with
'peak.running.mainLoop.stopOnSignals', which defaults to including SIGINT,
SIGTERM, and SIGBREAK.  If you need custom signal handling, please use
the event sources provided by an 'events.ISignalSource'.

'peak.running.process.ChildProcess' has been rewritten to use
'events.ISignalSource' and an 'events.Thread' to monitor SIGCHLD.  Removed
'checkStatus()' from the 'running.IProcessProxy' interface.

Made most event sources weak-referenceable.

Changed 'events.Thread' to keep a reference to an object it's yielding on,
so that "weak" events like signals and I/O events will hang around until
they call back to the thread.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/CHANGES.txt modified X   (diff to previous)
PEAK/TODO.txt modified X   (diff to previous)
PEAK/src/peak/events/event_threads.py modified X   (diff to previous)
PEAK/src/peak/events/interfaces.py modified X   (diff to previous)
PEAK/src/peak/events/io_events.py added X X  
PEAK/src/peak/events/sources.py modified X   (diff to previous)
PEAK/src/peak/peak.ini modified X   (diff to previous)
PEAK/src/peak/running/interfaces.py modified X   (diff to previous)
PEAK/src/peak/running/process.py modified X   (diff to previous)
PEAK/src/peak/running/scheduler.py modified X   (diff to previous)
PEAK/src/peak/running/tests/__init__.py modified X   (diff to previous)
PEAK/src/peak/tools/supervisor/process.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help