Files
mirror-processhacker/trunk/ProcessHacker/Providers/Internal/IProvider.cs
T
wj32 0776d13f36 * added WorkItem tags
* removed UseInvoke from Provider

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1248 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-09 01:29:45 +00:00

21 lines
569 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace ProcessHacker
{
public interface IProvider
{
event Action<IProvider> Disposed;
bool Busy { get; }
bool CreateThread { get; set; }
bool Enabled { get; set; }
void RunOnce();
void RunOnceAsync();
void InterlockedExecute(Delegate action, params object[] args);
void InterlockedExecute(Delegate action, int timeout, params object[] args);
void Wait();
void Wait(int timeout);
}
}