mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
feat (Core): #898 Add name to GenericQueue Thread
This name will show up in console using the `SSPTASKS` command and allow for easier troubleshooting.
This commit is contained in:
@@ -139,7 +139,8 @@ namespace PepperDash.Essentials.Core.Queues
|
|||||||
_queue = new CrestronQueue<IQueueMessage>(cap);
|
_queue = new CrestronQueue<IQueueMessage>(cap);
|
||||||
_worker = new Thread(ProcessQueue, null, Thread.eThreadStartOptions.Running)
|
_worker = new Thread(ProcessQueue, null, Thread.eThreadStartOptions.Running)
|
||||||
{
|
{
|
||||||
Priority = priority
|
Priority = priority,
|
||||||
|
Name = _key
|
||||||
};
|
};
|
||||||
|
|
||||||
SetDelayValues(pacing);
|
SetDelayValues(pacing);
|
||||||
|
|||||||
Reference in New Issue
Block a user