Mercurial > pub > ImplabNet
diff Implab/Parallels/DispatchPool.cs @ 93:dc4942d09e74 v2
improved tracing
added the application components container MTComponentContainer.AppContainer
author | cin |
---|---|
date | Thu, 23 Oct 2014 01:13:57 +0400 |
parents | 4c0e5ef99986 |
children | f803565868a4 |
line wrap: on
line diff
--- a/Implab/Parallels/DispatchPool.cs Wed Oct 22 18:37:56 2014 +0400 +++ b/Implab/Parallels/DispatchPool.cs Thu Oct 23 01:13:57 2014 +0400 @@ -7,9 +7,9 @@ readonly int m_maxThreadsLimit; readonly int m_releaseTimeout = 1000; // the timeout while the working thread will wait for the new tasks before exit - int m_threads = 0; // the current size of the pool - int m_maxRunningThreads = 0; // the meximum reached size of the pool - int m_exit = 0; // the pool is going to shutdown, all unused workers are released + int m_threads; // the current size of the pool + int m_maxRunningThreads; // the meximum reached size of the pool + int m_exit; // the pool is going to shutdown, all unused workers are released readonly object m_signal = new object(); // used to pulse waiting threads