redding/dat-tcp — pull request #14 by jcredding (2013-02-19 16:56:37+00:00)
Title: Added a timeout when shutting down the worker pool

This adds system timer to timeout the worker pool when it is
shutting down. If a worker is stuck in a neverending loop then
the server can never gracefully shutdown. This forces a
configurable timeout on waiting for workers to finish. If the
workers don't finish, then the server will stop waiting and
continue shutting down. This will most likely cause the threads
to be terminated in the middle of their serving a connection.

Closes #5

@kellyredding - After seeing the deadlock issue we ran into, I'd prefer going ahead and having this in DatTCP.