SynchronizedOperationBaseExecuteActionAsync Method
Executes the action on a separate thread.
Namespace: Gemstone.Threading.SynchronizedOperationsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.180 -- Release Build+914ca9e6d1cce46b614eb7013eba0303271cf6d8
protected abstract void ExecuteActionAsync()
Protected MustOverride Sub ExecuteActionAsync
protected:
virtual void ExecuteActionAsync() abstract
function ExecuteActionAsync();
Implementers should call
ExecuteAction on a separate thread and check the return value.
If it returns true, that means it needs to run again. The following is a sample implementation using
a regular dedicated thread:
protected override void ExecuteActionAsync()
{
Thread actionThread = new Thread(() =>
{
while (ExecuteAction())
{
}
});
actionThread.Start();
}