akka/akka — pull request #930 by rkuhn (2012-12-06 22:04:05+00:00)
Title:  #2778 - make thread names unique per system

The MonitorableThreadFactory.copy method does not take into account the
counter:AtomicLong field, which then always starts out at zero for every
new dispatcher; the PinnedDispatcher creates one dispatcher per actor,
hence resulting in identical thread names if used by multiple actors.
Solution: add the counter to the case class’ arguments