Click or drag to resize

LogicalThreadScheduler Class

Manages synchronization of actions by dispatching actions to logical threads to be processed synchronously.
Inheritance Hierarchy
SystemObject
  GSF.ThreadingLogicalThreadScheduler

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class LogicalThreadScheduler
View Source

The LogicalThreadScheduler type exposes the following members.

Constructors
 NameDescription
Public methodLogicalThreadScheduler Creates a new instance of the LogicalThreadScheduler class.
Top
Properties
 NameDescription
Public propertyMaxThreadCount Gets or sets the target for the maximum number of physical threads managed by this synchronization manager at any given time.
Public propertyPriorityLevels Gets the number of levels of priority supported by this scheduler.
Public propertyUseBackgroundThreads Gets or sets the flag that determines whether the threads in the scheduler's thread pool should be background threads.
Top
Methods
 NameDescription
Public methodCreateThread Creates a new logical thread whose execution is managed by this scheduler.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventUnhandledException Triggered when an action managed by this synchronization manager throws an exception.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also