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.185 -- Release Build+887b2e7e6f8689bd24b3b07ac2031d4989512fbc
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