Commit 5b9cf0f0779a9838e6ec1edc4ac5ff8d72007e51

ckolivas 2013-05-29T12:06:06

Send the shutdown message to threads and do the thread shutdown functions before more forcefully sending pthread_cancel to threads.