Show / Hide Table of Contents

Class QueuedThreadBase<TAsynchronousHandlerProcessor, TAsynchronousArgument>.WorkInfo

Unit of work information, contains a work queue and a thread present flag

Inheritance
Object
QueuedThreadBase<TAsynchronousHandlerProcessor, TAsynchronousArgument>.WorkInfo
Namespace: SuperOffice.Threading
Assembly: SoCore.dll
Syntax
protected class WorkInfo : Object

Constructors

WorkInfo()

Unit of work information, contains a work queue and a thread present flag

Declaration
public WorkInfo()

Fields

_workQueue

Queue of work, actually instances of our derived classes

Declaration
public Queue<QueuedThreadBase<TAsynchronousHandlerProcessor, TAsynchronousArgument>> _workQueue
Field Value
Type Description
Queue<QueuedThreadBase<TAsynchronousHandlerProcessor, TAsynchronousArgument>>

_workThreadPresent

Flag to keep track of the presence of a worker thread. Set/reset outside of queue operations to ensure there will be no orphaned work

Declaration
public bool _workThreadPresent
Field Value
Type Description
Boolean

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top