[Subversion] / PEAK / TODO.txt  

Revision 1640


Jump to revision:
Previous Next
Author: pje
Date: Mon Jan 26 02:44:10 2004 UTC (20 years, 2 months ago)

Log Message:

Implemented boolean operations on 'events.IConditional' objects, and added
'isTrue' and 'isFalse' event sources to 'IValue' objects.  So now you can
do things like 'yield aCondition & otherCondition' to wait until two
conditions are true.  Unfortunately, it is possible to have a race
condition if some code sets 'aCondition' to true before setting
'otherCondition' to false, in that as soon as both are true, the waiting
thread would resume.  Sometimes this is what you want, and sometimes not.
I'm beginning to wonder if one needs a sort of "transactionality" to
events, so that one can set a variety of values or conditions, and *then*
allow the callbacks to fire.  But that will require some further thought.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/TODO.txt modified X   (diff to previous)
PEAK/src/peak/events/interfaces.py modified X   (diff to previous)
PEAK/src/peak/events/sources.py modified X   (diff to previous)
PEAK/src/peak/events/tests/test_events.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help