public static void Initialize() { if (_threadPool == null) { _threadPool = new SharpThreadPool(); } }
public static void Initialize(int threadCount) { if (_threadPool == null) { _threadPool = new SharpThreadPool(threadCount); } }
public static void Initialize(int threadCount) { if (DSPThreadPool._threadPool == null) { DSPThreadPool._threadPool = new SharpThreadPool(threadCount); } }
public static void Initialize() { if (DSPThreadPool._threadPool == null) { DSPThreadPool._threadPool = new SharpThreadPool(); } }
public static void Terminate() { if (DSPThreadPool._threadPool == null) return; DSPThreadPool._threadPool.Dispose(); DSPThreadPool._threadPool = (SharpThreadPool) null; }
public static void Terminate() { if (_threadPool != null) { _threadPool.Dispose(); _threadPool = null; } }
public static void QueueUserWorkItem(WaitCallback callback, object parameter) { if (_threadPool == null) { _threadPool = new SharpThreadPool(); } _threadPool.QueueUserWorkItem(callback, parameter); }
public static void QueueUserWorkItem(WaitCallback callback) { if (_threadPool == null) { _threadPool = new SharpThreadPool(); } _threadPool.QueueUserWorkItem(callback); }
public static void Terminate() { if (DSPThreadPool._threadPool != null) { DSPThreadPool._threadPool.Dispose(); DSPThreadPool._threadPool = null; } }
public static void QueueUserWorkItem(WaitCallback callback, object parameter) { if (DSPThreadPool._threadPool == null) { DSPThreadPool._threadPool = new SharpThreadPool(); } DSPThreadPool._threadPool.QueueUserWorkItem(callback, parameter); }
public static void Initialize(int threadCount) { if (DSPThreadPool._threadPool != null) return; DSPThreadPool._threadPool = new SharpThreadPool(threadCount); }
public static void Initialize() { if (DSPThreadPool._threadPool != null) return; DSPThreadPool._threadPool = new SharpThreadPool(); }