using System;
using System.Threading;

namespace QC.QSPR.Threading;

public class AutoSignalEvent : IDisposable
{
	private EventWaitHandle handle;

	public AutoSignalEvent(EventWaitHandle eventWaitHandle)
	{
		handle = eventWaitHandle;
	}

	public void Dispose()
	{
		handle.Set();
	}
}
