Class PriorityThreadRunner
Static helper class for wrapping prioritized threads as tasks
Inherited Members
Namespace: DuetControlServer.Utility
Assembly: DuetControlServer.dll
Syntax
public static class PriorityThreadRunner
Methods
Start(ThreadStart, ThreadPriority)
Function to wrap synchronous threads without allocating an extra task
Declaration
public static Task Start(ThreadStart start, ThreadPriority priority)
Parameters
| Type | Name | Description |
|---|---|---|
| ThreadStart | start | Function to start |
| ThreadPriority | priority | Thread priority |
Returns
| Type | Description |
|---|---|
| Task | Asynchronous task |