Ability to name BasicRunQueue instances, from Charlie.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2369 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -29,11 +29,19 @@ public class BasicRunQueue extends LoopingThread
|
||||
implements RunQueue
|
||||
{
|
||||
/**
|
||||
* Construct a BasicRunQueue with a default Queue implementation.
|
||||
* Construct a BasicRunQueue with a default Queue implementation and name.
|
||||
*/
|
||||
public BasicRunQueue ()
|
||||
{
|
||||
super("RunQueue");
|
||||
this("RunQueue");
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a BasicRunQueue with a default Queue implementation and the given name.
|
||||
*/
|
||||
public BasicRunQueue (String name)
|
||||
{
|
||||
super(name);
|
||||
_queue = new Queue<Runnable>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user