Search Results for

    Show / Hide Table of Contents

    Class ThreadCommunicator.SharedState

    Shared state for threads using ThreadCommunicator.

    Inheritance
    Object
    ThreadCommunicator.SharedState
    Implements
    IDisposable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic
    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
    Type Description
    Barrier

    inbox

    [thread][sender][tag]

    Declaration
    public readonly Dictionary<int, Queue<object>>[][] inbox
    Field Value
    Type Description
    Dictionary<Int32, Queue<Object>>[][]

    newMessage

    Declaration
    public readonly EventWaitHandle[] newMessage
    Field Value
    Type Description
    EventWaitHandle[]

    NumberOfThreads

    Declaration
    public readonly int NumberOfThreads
    Field Value
    Type Description
    Int32

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Implements

    System.IDisposable
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.