mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +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:
parent
5d5dee2e5e
commit
abdd1b38f8
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue