Project Task Page: Axon ThreadedComponent termination bugfix
Casual inspection of Axon.ThreadedComponent identified a bug:threadedcomponent may never properly terminate if, when the thread (main() method) terminates, one of the inqueues in full and there are still messages waiting at the corresponding inbox.
This branch adds test suite coverage of this issues and fixes the bug.
InputsThis section is largely about WHO has influenced this task to do WHAT, and where possible WHY. It is also about WHO to contact with regard to this task to influence what's going on.
Realistic possibilities arising as a result of activity on this task
Tasks that directly enable this task (dependencies)
DiscussionTo my mind this could be deemed a bugfix. It is certainly not really a tangible API or feature-set change.
I've added to the docstrings to provide clarification around shutdown behaviour to people writing threaded components. Its basically documenting the situation as-is, rather than being a change in behaviour (aside from the bugfix aspect!)
-- Matt Hammond, 23 May 2007
This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC. (the site is powered by a wiki engine)
(C) Copyright 2008 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved