/** * Currently we let the reaper thread run at same priority as other * threads. Could get priority from environment. */ public static synchronized ActivityReaper create () { // TODO -- problem here because nothing calls shutdown if (_theReaper == null) { ActivityReaper._theReaper = new ActivityReaper(); _reaperThread = new ReaperThread(ActivityReaper._theReaper); // _reaperThread.setPriority(Thread.MIN_PRIORITY); _reaperThread.setDaemon(true); _reaperThread.start(); } return _theReaper; }
/** * Currently we let the reaper thread run at same priority as other * threads. Could get priority from environment. */ public static synchronized ActivityReaper create () { // TODO -- problem here because nothing calls shutdown if (_theReaper == null) { ActivityReaper._theReaper = new ActivityReaper(); _reaperThread = new ReaperThread(ActivityReaper._theReaper); // _reaperThread.setPriority(Thread.MIN_PRIORITY); _reaperThread.setDaemon(true); _reaperThread.start(); } return _theReaper; }
/** * Currently we let the reaper thread run at same priority as other * threads. Could get priority from environment. */ public static synchronized ActivityReaper create () { // TODO -- problem here because nothing calls shutdown if (_theReaper == null) { ActivityReaper._theReaper = new ActivityReaper(); _reaperThread = new ReaperThread(ActivityReaper._theReaper); // _reaperThread.setPriority(Thread.MIN_PRIORITY); _reaperThread.setDaemon(true); _reaperThread.start(); } return _theReaper; }
/** * Currently we let the reaper thread run at same priority as other * threads. Could get priority from environment. */ public static synchronized ActivityReaper create () { // TODO -- problem here because nothing calls shutdown if (_theReaper == null) { ActivityReaper._theReaper = new ActivityReaper(); _reaperThread = new ReaperThread(ActivityReaper._theReaper); // _reaperThread.setPriority(Thread.MIN_PRIORITY); _reaperThread.setDaemon(true); _reaperThread.start(); } return _theReaper; }