Mercurial > hg > blitz_stable
comparison src/org/dancres/blitz/remote/nio/DaemonThreadFactory.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.blitz.remote.nio; | |
2 | |
3 import EDU.oswego.cs.dl.util.concurrent.ThreadFactory; | |
4 | |
5 /** | |
6 */ | |
7 public class DaemonThreadFactory implements ThreadFactory { | |
8 public Thread newThread(Runnable aCommand) { | |
9 Thread myThread = new Thread(aCommand); | |
10 myThread.setDaemon(true); | |
11 | |
12 return myThread; | |
13 } | |
14 } |