Class SimpleThreadDispatcher
Inheritance
SimpleThreadDispatcher
Implements
IThreadDispatcher
Assembly: SlipeServer.Physics.dll
Syntax
public class SimpleThreadDispatcher : IThreadDispatcher, IDisposable
Constructors
|
Edit this page
View Source
SimpleThreadDispatcher(int)
Declaration
public SimpleThreadDispatcher(int threadCount)
Parameters
| Type |
Name |
Description |
| int |
threadCount |
|
Properties
|
Edit this page
View Source
ThreadCount
Declaration
public int ThreadCount { get; }
Property Value
Methods
|
Edit this page
View Source
DispatchWorkers(Action<int>)
Declaration
public void DispatchWorkers(Action<int> workerBody)
Parameters
|
Edit this page
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
|
Edit this page
View Source
GetThreadMemoryPool(int)
Declaration
public BufferPool GetThreadMemoryPool(int workerIndex)
Parameters
| Type |
Name |
Description |
| int |
workerIndex |
|
Returns
| Type |
Description |
| BufferPool |
|
Implements
BepuUtilities.IThreadDispatcher