/* Copyright (C) 2004 - 2009  Versant Inc.  http://www.db4o.com */

using Sharpen.Lang;

namespace Db4objects.Db4o.Internal.Threading
{
	public interface IThreadPool4
	{
		void Start(string taskName, IRunnable task);

		void StartLowPriority(string taskName, IRunnable task);

		event System.EventHandler<UncaughtExceptionEventArgs> UncaughtException;

		/// <exception cref="System.Exception"></exception>
		void Join(int timeoutMilliseconds);
	}
}
