BEPUphysics.Threading.ParallelLoopManager.AddThread C# (CSharp) Метод

AddThread() приватный Метод

private AddThread ( Action threadStart, object threadStartInformation ) : void
threadStart Action
threadStartInformation object
Результат void
        internal void AddThread(Action<object> threadStart, object threadStartInformation)
        {
            workers.Add(new ParallelLoopWorker(this, threadStart, threadStartInformation));
        }

Same methods

ParallelLoopManager::AddThread ( ) : void

Usage Example

Пример #1
0
 /// <summary>
 /// Adds a new worker thread to the engine.
 /// </summary>
 public void AddThread()
 {
     taskManager.AddThread();
     loopManager.AddThread();
 }