📄 recursionpoint.cs
字号:
namespace NCindy.Protocol.RUDP
{
using System;
using System.Threading;
public sealed class RecursionPoint
{
private int _isExecuting;
private static readonly int FALSE = 0;
private static readonly int TRUE = 1;
public bool Enter()
{
return (Interlocked.Exchange(ref this._isExecuting, TRUE) == TRUE);
}
public void Exit()
{
Interlocked.Exchange(ref this._isExecuting, FALSE);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -