/// <summary> /// <see cref="PooledExecutor"/> helper class /// </summary> /// <param name="executor">pooled executor</param> /// <param name="firstTask">the first task to execute</param> protected internal Worker(PooledExecutor executor, IRunnable firstTask) { this.pooledExecutor = executor; firstTask_ = firstTask; }
/// <summary> /// Creates new instance tied to the given <see cref="PooledExecutor"/> /// </summary> protected internal WaitWhenBlocked_(PooledExecutor executor) { this.pooledExecutor = executor; }
/// <summary> /// Creates a new instance /// </summary> protected internal DiscardOldestWhenBlocked_(PooledExecutor executor) { this.pooledExecutor = executor; }