public Boundary(IO.Context context, int maxWorkPerLoop) { asyncWatcher = context.CreateAsyncWatcher (ProcessWork); asyncWatcher.Start (); workQueue = new ConcurrentQueue<Action> (); this.maxWorkPerLoop = maxWorkPerLoop; }
public Boundary(IO.Context context, int maxWorkPerLoop) { asyncWatcher = context.CreateAsyncWatcher (ProcessWork); asyncWatcher.Start (); workQueue = new ConcurrentQueue<Action> (); this.maxWorkPerLoop = maxWorkPerLoop; }