/// <summary> /// Starts thread execution and <see cref="IExecObj"/> queueing. /// </summary> public static void Start(ObjectExecuted postObjExecFunc) { m_objExec = postObjExecFunc; m_running = true; if (m_singleThread) { m_thread = new Thread(new ThreadStart(ThreadMain)); m_thread.Start(); } }
/// <summary> /// Starts thread execution and <see cref="IExecObj"/> queueing. /// </summary> public static void Start() { m_objExec = null; m_running = true; if (m_singleThread) { m_thread = new Thread(new ThreadStart(ThreadMain)); m_thread.Start(); } }