SynchronizedOperationBaseTryRun Method

Attempts to execute the action on current thread. Does nothing if the operation is already running.

Definition

Namespace: Gemstone.Threading.SynchronizedOperations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
public void TryRun(
	bool runPendingSynchronously = false
)

Parameters

runPendingSynchronously  Boolean  (Optional)
Defines synchronization mode for running any pending operation.

Implements

ISynchronizedOperationTryRun(Boolean)

Remarks

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.

See Also