// :: public static void Start(string[] fps, TypeTo type, Action<object[]> callBack) { if (fps == null) return; if (_th == null) { _fps = fps; _type = type; _callBack = callBack; _th = new Thread(new ThreadStart(p_Work)); _th.Start(); } }
// :: private static void p_Clear() { if (_th != null) { _type = TypeTo.None; _callBack = null; _fps = null; _th = null; } }