22 lines
No EOL
383 B
C#
22 lines
No EOL
383 B
C#
using System.Threading;
|
|
|
|
namespace JD.Threading.Dispatch
|
|
{
|
|
internal interface IMessageLoop
|
|
{
|
|
#region Properties
|
|
|
|
bool InvokeRequired { get; }
|
|
|
|
#endregion
|
|
|
|
#region Methods
|
|
|
|
void Invoke(System.Action action);
|
|
void BeginInvoke(System.Action action);
|
|
|
|
void WaitAndPump(WaitHandle waitHandle);
|
|
|
|
#endregion
|
|
}
|
|
} |