feat: Name PPP thread

pull/8612/head
Jeroen de Bruijn 2018-11-01 13:57:03 +01:00
parent 56a12ce7d6
commit 1f4f623339
No known key found for this signature in database
GPG Key ID: 7D12D6AB2A547EBB
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ static EventQueue *prepare_event_queue()
// Only need to queue 2 events. new blows on failure.
event_queue = new EventQueue(2 * EVENTS_EVENT_SIZE, NULL);
event_thread = new Thread(osPriorityNormal, PPP_THREAD_STACK_SIZE);
event_thread = new Thread(osPriorityNormal, PPP_THREAD_STACK_SIZE, NULL, "event_thread");
if (event_thread->start(callback(event_queue, &EventQueue::dispatch_forever)) != osOK) {
delete event_thread;