]> git.cworth.org Git - sup/commit
make ThreadIndexMode#save optionally threaded
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 25 Mar 2009 12:33:45 +0000 (05:33 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 25 Mar 2009 12:35:28 +0000 (05:35 -0700)
commitfbca3b3df0a6fcc64dfafab571b9d915b15b41a2
treed5095922ba5fac87ba3d0514c3420e8ebbf995ab
parent6578c2141763fcf05f63c42eab0908123ffcce3f
make ThreadIndexMode#save optionally threaded

The call to #save during #cleanup needs to block because this is where
state gets saved immediately before exit. Other calls to #save, e.g.
those triggered by "$", can be backgrounded.
lib/sup/modes/thread-index-mode.rb