Unosquare
    Show / Hide Table of Contents

    Class Threading

    Use this class to access threading methods using interop.

    Inheritance
    Object
    Threading
    Namespace: Unosquare.PiGpio
    Syntax
    public class Threading : IThreading

    Methods

    StartThread(Action)

    Declaration
    public void StartThread(Action worker)
    Parameters
    Type Name Description
    Action worker

    StartThreadEx(Action<UIntPtr>, UIntPtr)

    Declaration
    public UIntPtr StartThreadEx(Action<UIntPtr> worker, UIntPtr userData)
    Parameters
    Type Name Description
    Action<UIntPtr> worker
    UIntPtr userData
    Returns
    Type Description
    UIntPtr

    StopThread()

    Stops a thread that was previously started with StartThread(Action).

    Declaration
    public void StopThread()

    StopThreadEx(UIntPtr)

    Declaration
    public void StopThreadEx(UIntPtr handle)
    Parameters
    Type Name Description
    UIntPtr handle

    Comments

    Back to top Copyright © 2017-2019 Unosquare