Microsoft.WindowsAzure.MobileServices.Sync.OperationQueue.UpdateOperationCount C# (CSharp) Method

UpdateOperationCount() private method

private UpdateOperationCount ( long delta ) : void
delta long
return void
        internal void UpdateOperationCount(long delta)
        {
            long current, updated;
            do
            {
                current = this.pendingOperations;
                updated = current + delta;
            }
            while (current != Interlocked.CompareExchange(ref this.pendingOperations, updated, current));
        }