/[libvob]/libvob/org/nongnu/libvob/util/ThreadBackground.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/util/ThreadBackground.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tjl, Tue Sep 9 12:13:20 2003 UTC revision 1.4 by tjl, Wed Sep 10 12:48:42 2003 UTC
# Line 38  public class ThreadBackground implements Line 38  public class ThreadBackground implements
38      public static boolean dbg = false;      public static boolean dbg = false;
39      final static void pa(String s) { System.out.println(s); }      final static void pa(String s) { System.out.println(s); }
40    
41      // XXX Should use Lifo but Fenfire code is not yet ready      private PriorityQueue queue = new LifoPriorityQueue();
     // for that  
     // private PriorityQueue queue = new LifoPriorityQueue();  
     private PriorityQueue queue = new DumbPriorityQueue();  
42    
43      public void addTask(Runnable r, float priority) {      public void addTask(Runnable r, float priority) {
44          synchronized(queue) {          synchronized(queue) {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26