Merge pull request #61 from kayousterhout/daemon_thread Unified daemon thread pools
As requested by @mateiz in an earlier pull request, this refactors various daemon thread pools to use a set of methods in utils.scala, and also changes the thread-pool-creation methods in utils.scala to use named thread pools for improved debugging. Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/983b83f2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/983b83f2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/983b83f2 Branch: refs/heads/master Commit: 983b83f24da9f7f0251833b409cdcd37acae3d39 Parents: 3249e0e 707ad8c Author: Matei Zaharia <ma...@eecs.berkeley.edu> Authored: Tue Oct 15 19:02:46 2013 -0700 Committer: Matei Zaharia <ma...@eecs.berkeley.edu> Committed: Tue Oct 15 19:02:46 2013 -0700 ---------------------------------------------------------------------- .../spark/broadcast/BitTorrentBroadcast.scala | 8 ++++--- .../apache/spark/broadcast/MultiTracker.scala | 2 +- .../apache/spark/broadcast/TreeBroadcast.scala | 4 ++-- .../org/apache/spark/executor/Executor.scala | 3 +-- .../spark/network/ConnectionManager.scala | 3 ++- .../scheduler/cluster/TaskResultGetter.scala | 25 ++++---------------- .../scala/org/apache/spark/util/Utils.scala | 22 ++++++++++------- 7 files changed, 29 insertions(+), 38 deletions(-) ----------------------------------------------------------------------