thread_spawn: clean up nuking of timed-out threads
commit3b0bf229c40a9e460b71e751932481e66e90c26a
authorEric Wong <normalperson@yhbt.net>
Sat, 10 Oct 2009 22:57:12 +0000 (10 15:57 -0700)
committerEric Wong <normalperson@yhbt.net>
Sat, 10 Oct 2009 22:57:52 +0000 (10 15:57 -0700)
treea3aea677402856fb5f9e93f6ccc99323aab03e1c
parent5a5493fefb9048a7362e3bcb629cc363df529422
thread_spawn: clean up nuking of timed-out threads

We log thread destruction times now and also make a best-effort
to avoid race conditions on threads that just finished.
lib/rainbows/thread_spawn.rb