public void RunTask(IFThreadArg arg) { this.Arg = arg; if (!isRunning) { Run(); } }
private static void Set(IFThreadArg arg, IFThread th) { Log.L(ArgCache.RunningCount + " " + ArgCache.SleepCount + " " + ThreadCache.RunningCount + " " + ThreadCache.SleepCount); ArgCache.Set(arg); ThreadCache.Set(th); }