Bari.Core.Build.Cache.FileBuildCache.UnlockForBuilder C# (CSharp) Method

UnlockForBuilder() public method

Removes the lock put by the IBuildCache.LockForBuilder method.
public UnlockForBuilder ( BuildKey builder ) : void
builder BuildKey Builder key
return void
        public void UnlockForBuilder(BuildKey builder)
        {
            ReaderWriterLockSlim lck;
            if (locks.TryGetValue(builder, out lck))
                lck.ExitUpgradeableReadLock();
        }