Class QueuedThreadBase<TAsynchronousHandlerProcessor, TAsynchronousArgument>.WorkInfo
Unit of work information, contains a work queue and a thread present flag
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 |