New design for interrupt mechanism
The current desgn for interrupt mechanism is not ideal when CoCoALib is called from other libraries.
Try to make a better design.
#1 Updated by John Abbott 8 months ago
SignalInterruptsCoCoA just overwrites any previously registered signal handler.
A better design might be use a "scoped object" for registering and later deregistering the signal handler.
This should make CoCoALib collaborate more nicely with other libraries.
#2 Updated by John Abbott 8 months ago
- Status changed from New to Feedback
- Assignee set to John Abbott
- % Done changed from 0 to 90
I have changed the implementation considerably (with simplifying consequences for GlobalManager and the interpreter (
Updated also the documentation. Checked in.
Let's test it for a while :-)
Next step is to complete the "timer".