def startThread(name: String)(thunk: => Unit): Thread = { | |
val t = new Thread(name) { | |
override def run() { thunk } | |
} | |
t.setDaemon(true) | |
t.start() | |
t | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment