From 36a94d432663fceca51c11486df7153bc1ea7120 Mon Sep 17 00:00:00 2001 From: mdb Date: Sat, 5 Oct 2002 23:45:59 +0000 Subject: [PATCH] Added ability to specify name of looping thread in constructor. git-svn-id: https://samskivert.googlecode.com/svn/trunk@859 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../java/com/samskivert/util/LoopingThread.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/projects/samskivert/src/java/com/samskivert/util/LoopingThread.java b/projects/samskivert/src/java/com/samskivert/util/LoopingThread.java index bd01d6d0..dc960a04 100644 --- a/projects/samskivert/src/java/com/samskivert/util/LoopingThread.java +++ b/projects/samskivert/src/java/com/samskivert/util/LoopingThread.java @@ -1,5 +1,5 @@ // -// $Id: LoopingThread.java,v 1.5 2001/10/03 02:20:05 mdb Exp $ +// $Id: LoopingThread.java,v 1.6 2002/10/05 23:45:59 mdb Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne @@ -30,6 +30,21 @@ import com.samskivert.Log; */ public class LoopingThread extends Thread { + /** + * Ye olde zero argument constructor. + */ + public LoopingThread () + { + } + + /** + * Ye olde zero argument constructor. + */ + public LoopingThread (String name) + { + super(name); + } + /** * Requests that this thread shut itself down. The running flag will * be cleared and if this function is being called by an external