Class ThreadCommunicator.SharedState
Shared state for threads using ThreadCommunicator.
Inheritance
ThreadCommunicator.SharedState
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
protected class SharedState : IDisposable
Constructors
SharedState(Int32)
Declaration
public SharedState(int numberOfThreads)
Parameters
Type |
Name |
Description |
Int32 |
numberOfThreads |
|
Fields
barrier
Declaration
public readonly Barrier barrier
Field Value
inbox
Declaration
public readonly Dictionary<int, Queue<object>>[][] inbox
Field Value
newMessage
Declaration
public readonly EventWaitHandle[] newMessage
Field Value
NumberOfThreads
Declaration
public readonly int NumberOfThreads
Field Value
Methods
Dispose()
Declaration
Implements