]> git.cworth.org Git - sup/commit
maintain a more reasonable thread structure during threading
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 30 Dec 2007 04:32:23 +0000 (20:32 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 30 Dec 2007 05:04:56 +0000 (21:04 -0800)
commit0f0758ada916bd6f5f6b26247d3c3be50f409b60
tree7350711721a236440760c6577838c2c533003171
parent27a5f6ed7a0562ba1c5aeb2f79da352dc21770bf
maintain a more reasonable thread structure during threading

two new invariants: every Thread should have at least one Container
tree, and every Container tree should have at least one Message.
this is also a bugfix for threadset#remove_id, but the current use
of that function is a bug in and of itself, which I will fix in
the next commit. At any rate, this is better code, presumably.
lib/sup/thread.rb