Universe.Framework.Utilities.UniverseThreadPool.UniverseThreadPool C# (CSharp) Méthode

UniverseThreadPool() public méthode

public UniverseThreadPool ( UniverseThreadPoolStartInfo info ) : System
info UniverseThreadPoolStartInfo
Résultat System
        public UniverseThreadPool (UniverseThreadPoolStartInfo info)
        {
            m_info = info;
            Threads = new Thread [m_info.Threads];
            Sleeping = new int [m_info.Threads];
            nthreads = 0;
            nSleepingthreads = 0;
            // lets threads check for work a bit faster in case we have all sleeping and awake interrupt fails
        }