withSIX.Play.Core.Games.Legacy.BusyStateHandler.CheckAndSetBusyInternal C# (CSharp) Method

CheckAndSetBusyInternal() private method

private CheckAndSetBusyInternal ( ) : bool
return bool
        bool CheckAndSetBusyInternal() {
            lock (_busyLock) {
                if (IsBusy)
                    return false;
                IsBusy = true;
                return true;
            }
        }