SynchronizedOperationBaseTryRun Method
Attempts to execute the action on current thread. Does nothing if the operation is already running.
Namespace: Gemstone.Threading.SynchronizedOperationsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.110 -- Release Build+13c244059615c58a533059438f38d7e59ef0c2ea
public void TryRun(
bool runPendingSynchronously = false
)
Public Sub TryRun (
Optional runPendingSynchronously As Boolean = false
)
public:
virtual void TryRun(
bool runPendingSynchronously = false
) sealed
function TryRun(runPendingSynchronously);
- runPendingSynchronously Boolean (Optional)
- Defines synchronization mode for running any pending operation.
ISynchronizedOperationTryRun(Boolean)
When runPendingSynchronously is true, this method will not guarantee that control
will be returned to the thread that called it; if other threads continuously mark the operation as pending,
this thread will continue to run the operation indefinitely on the calling thread.