Fantasy
搜索结果

    显示/隐藏目录

    NativeConcurrentSpinLock 结构

    Native concurrent spinLock

    实现
    IDisposable
    IEquatable<NativeConcurrentSpinLock>
    继承成员
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    命名空间: NativeCollections
    程序集: Fantasy.Net.dll
    语法
    [StructLayout(LayoutKind.Sequential)]
    public readonly struct NativeConcurrentSpinLock : IDisposable, IEquatable<NativeConcurrentSpinLock>

    构造函数

    | 编辑本文 查看源代码

    NativeConcurrentSpinLock(int)

    Structure

    声明
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public NativeConcurrentSpinLock(int sleepThreshold)
    参数
    类型 名称 描述
    int sleepThreshold

    Sleep threshold

    属性

    | 编辑本文 查看源代码

    Empty

    Empty

    声明
    public static NativeConcurrentSpinLock Empty { get; }
    属性值
    类型 描述
    NativeConcurrentSpinLock
    | 编辑本文 查看源代码

    IsCreated

    Is created

    声明
    public bool IsCreated { get; }
    属性值
    类型 描述
    bool
    | 编辑本文 查看源代码

    SleepThreshold

    Sleep threshold

    声明
    public int SleepThreshold { get; }
    属性值
    类型 描述
    int

    方法

    | 编辑本文 查看源代码

    Dispose()

    Dispose

    声明
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public void Dispose()
    | 编辑本文 查看源代码

    Enter()

    Enter

    声明
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public void Enter()
    | 编辑本文 查看源代码

    Equals(NativeConcurrentSpinLock)

    Equals

    声明
    public bool Equals(NativeConcurrentSpinLock other)
    参数
    类型 名称 描述
    NativeConcurrentSpinLock other

    Other

    返回
    类型 描述
    bool

    Equals

    | 编辑本文 查看源代码

    Equals(object?)

    Equals

    声明
    public override bool Equals(object? obj)
    参数
    类型 名称 描述
    object obj

    object

    返回
    类型 描述
    bool

    Equals

    重写
    ValueType.Equals(object)
    | 编辑本文 查看源代码

    Exit()

    Exit

    声明
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public void Exit()
    | 编辑本文 查看源代码

    GetHashCode()

    Get hashCode

    声明
    public override int GetHashCode()
    返回
    类型 描述
    int

    HashCode

    重写
    ValueType.GetHashCode()
    | 编辑本文 查看源代码

    ToString()

    To string

    声明
    public override string ToString()
    返回
    类型 描述
    string

    String

    重写
    ValueType.ToString()

    运算符

    | 编辑本文 查看源代码

    operator ==(NativeConcurrentSpinLock, NativeConcurrentSpinLock)

    Equals

    声明
    public static bool operator ==(NativeConcurrentSpinLock left, NativeConcurrentSpinLock right)
    参数
    类型 名称 描述
    NativeConcurrentSpinLock left

    Left

    NativeConcurrentSpinLock right

    Right

    返回
    类型 描述
    bool

    Equals

    | 编辑本文 查看源代码

    operator !=(NativeConcurrentSpinLock, NativeConcurrentSpinLock)

    Not equals

    声明
    public static bool operator !=(NativeConcurrentSpinLock left, NativeConcurrentSpinLock right)
    参数
    类型 名称 描述
    NativeConcurrentSpinLock left

    Left

    NativeConcurrentSpinLock right

    Right

    返回
    类型 描述
    bool

    Not equals

    实现

    IDisposable
    IEquatable<T>

    扩展方法

    JsonHelper.ToJson<T>(T)
    • 编辑本文
    • 查看源代码
    本文内容
    Back to top Generated by DocFX