mirror of https://github.com/ARMmbed/mbed-os.git
feat: Name PPP thread
parent
56a12ce7d6
commit
1f4f623339
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue