introduce thread_alive_p macro
commit39d7c9d51bf0a5d545de37ee668c5cbc17b79589
authorTom Tromey <tromey@redhat.com>
Wed, 3 Jul 2013 22:20:07 +0000 (3 16:20 -0600)
committerTom Tromey <tromey@redhat.com>
Wed, 3 Jul 2013 22:20:07 +0000 (3 16:20 -0600)
tree4c3efca7443bf86c221ba9635c83dc22dfd9c59c
parentc60685a8c4f1a7cc15c8fd2cd53fe9bb27245baf
introduce thread_alive_p macro

This introduces the thread_alive_p macro and changes
thread-alive-p to use it.  This is a minor cleanup.
It also changes all-threads to ignore dead threads.
src/thread.c