using System.Threading;
namespace IStation
{
internal class SetOperation
{
///
/// Locker for this cache key Set function
///
internal object Lock { get; } = new object();
///
/// Locker for increment / decrement of counter value
///
internal object CounterLock { get; } = new object();
///
/// Used to count the number of threads being blocked whilst the last thread is being cancelled
///
internal int Counter { get; set; }
///
/// A thread running a function to Set a cache item
///
internal Thread Thread { get; set; }
}
}