public LogWriter(IRegionManager regionmgr)
{
this.regionmgr = regionmgr;
groupCommitWorkerHndl = new AutoResetEvent(false);
groupCommitRequestorsHndl = new ManualResetEvent(false);
if (USE_GROUP_COMMIT_THREAD) {
// setup the commitThread
commitThread = new Thread(new ThreadStart(this._flushThread));
commitThread.Start();
}
}