コード例 #1
0
 public static void Initialize()
 {
     if (_threadPool == null)
     {
         _threadPool = new SharpThreadPool();
     }
 }
コード例 #2
0
 public static void Initialize(int threadCount)
 {
     if (_threadPool == null)
     {
         _threadPool = new SharpThreadPool(threadCount);
     }
 }
コード例 #3
0
ファイル: DSPThreadPool.cs プロジェクト: yi520520/SDRSharp-1
 public static void Initialize(int threadCount)
 {
     if (DSPThreadPool._threadPool == null)
     {
         DSPThreadPool._threadPool = new SharpThreadPool(threadCount);
     }
 }
コード例 #4
0
ファイル: DSPThreadPool.cs プロジェクト: yi520520/SDRSharp-1
 public static void Initialize()
 {
     if (DSPThreadPool._threadPool == null)
     {
         DSPThreadPool._threadPool = new SharpThreadPool();
     }
 }
コード例 #5
0
ファイル: DSPThreadPool.cs プロジェクト: zloiia/sdrsrc
 public static void Terminate()
 {
     if (DSPThreadPool._threadPool == null)
     return;
       DSPThreadPool._threadPool.Dispose();
       DSPThreadPool._threadPool = (SharpThreadPool) null;
 }
コード例 #6
0
 public static void Terminate()
 {
     if (_threadPool != null)
     {
         _threadPool.Dispose();
         _threadPool = null;
     }
 }
コード例 #7
0
 public static void QueueUserWorkItem(WaitCallback callback, object parameter)
 {
     if (_threadPool == null)
     {
         _threadPool = new SharpThreadPool();
     }
     _threadPool.QueueUserWorkItem(callback, parameter);
 }
コード例 #8
0
 public static void QueueUserWorkItem(WaitCallback callback)
 {
     if (_threadPool == null)
     {
         _threadPool = new SharpThreadPool();
     }
     _threadPool.QueueUserWorkItem(callback);
 }
コード例 #9
0
ファイル: DSPThreadPool.cs プロジェクト: yi520520/SDRSharp-1
 public static void Terminate()
 {
     if (DSPThreadPool._threadPool != null)
     {
         DSPThreadPool._threadPool.Dispose();
         DSPThreadPool._threadPool = null;
     }
 }
コード例 #10
0
ファイル: DSPThreadPool.cs プロジェクト: yi520520/SDRSharp-1
 public static void QueueUserWorkItem(WaitCallback callback, object parameter)
 {
     if (DSPThreadPool._threadPool == null)
     {
         DSPThreadPool._threadPool = new SharpThreadPool();
     }
     DSPThreadPool._threadPool.QueueUserWorkItem(callback, parameter);
 }
コード例 #11
0
 public static void Terminate()
 {
     if (_threadPool != null)
     {
         _threadPool.Dispose();
         _threadPool = null;
     }
 }
コード例 #12
0
 public static void QueueUserWorkItem(WaitCallback callback)
 {
     if (_threadPool == null)
     {
         _threadPool = new SharpThreadPool();
     }
     _threadPool.QueueUserWorkItem(callback);
 }
コード例 #13
0
ファイル: DSPThreadPool.cs プロジェクト: zloiia/sdrsrc
 public static void Initialize(int threadCount)
 {
     if (DSPThreadPool._threadPool != null)
     return;
       DSPThreadPool._threadPool = new SharpThreadPool(threadCount);
 }
コード例 #14
0
ファイル: DSPThreadPool.cs プロジェクト: zloiia/sdrsrc
 public static void Initialize()
 {
     if (DSPThreadPool._threadPool != null)
     return;
       DSPThreadPool._threadPool = new SharpThreadPool();
 }