internal bool AnyChanges()
{
globalBufferLock.@Lock();
try
{
/*
* check if all items in the global slice were applied
* and if the global slice is up-to-date
* and if globalBufferedUpdates has changes
*/
return(globalBufferedUpdates.Any() || !globalSlice.IsEmpty || globalSlice.sliceTail != tail || tail.next != null);
}
finally
{
globalBufferLock.Unlock();
}
}