Make worker threads uninterruptible

This commit is contained in:
Mark Harrah 2009-12-02 10:29:22 -05:00
parent 36bb0e247a
commit dfaa2f370c
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ final class Distributor[D](scheduler: Scheduler[D], doWork: D => Option[String],
}
private class Worker(data: D) extends Thread with NotNull
{
override def interrupt() {}
override def run()
{
val result = Control.trapUnit("", log(data))(doWork(data))