Bari.Core.Build.Cache.MemoryBuildCache.LockForBuilder C# (CSharp) Метод

LockForBuilder() публичный Метод

Locks the cache for a given builder.

Until calling IBuildCache.UnlockForBuilder, it is guaranteed that no IBuildCache.Store operation will be ran for the given builder from other threads.

public LockForBuilder ( BuildKey builder ) : void
builder BuildKey Builder key
Результат void
        public void LockForBuilder(BuildKey builder)
        {
            GetOrCreate(builder).EnterUpgradeableLock();
        }