LongSynchronizedOperationIsBackground Property

Gets or sets whether the thread executing the action is a background thread.

Definition

Namespace: Gemstone.Threading.SynchronizedOperations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.186 -- Release Build+f3c68cd1a13b4f341e0d0fc1ddec1eb68d3eeb61
public bool IsBackground { get; init; }

Property Value

Boolean

Remarks

This defaults to false, be aware that foreground thread will prevent shutdown while task is running. If a task keeps getting marked as pending, application will not shut down; consider a cancellable action for LongSynchronizedOperation instances that use a foreground thread.

See Also