@@ -149,13 +149,13 @@ int RPCClass::begin(long unsigned int np, uint16_t nd) {
149149 // Ideally this should execute only once
150150 disableCM4Autoboot ();
151151
152- eventThread = new rtos::Thread (osPriorityHigh, 4096 );
153- eventThread->start (&eventHandler);
152+ eventThread = new rtos::Thread (osPriorityHigh, 4096 , nullptr , " rpc_evt " );
153+ eventThread->start (&eventHandler);
154154
155- dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 );
155+ dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 , nullptr , " rpc_dispatch " );
156156 dispatcherThread->start (mbed::callback (this , &RPCClass::dispatch));
157157
158- responseThread = new rtos::Thread (osPriorityNormal, 4096 );
158+ responseThread = new rtos::Thread (osPriorityNormal, 4096 , nullptr , " rpc_response " );
159159 responseThread->start (mbed::callback (this , &RPCClass::response));
160160
161161 /* Initialize OpenAmp and libmetal libraries */
@@ -196,13 +196,13 @@ int RPCClass::begin(long unsigned int np, uint16_t nd) {
196196
197197int RPCClass::begin (long unsigned int np, uint16_t nd) {
198198
199- eventThread = new rtos::Thread (osPriorityHigh, 4096 );
199+ eventThread = new rtos::Thread (osPriorityHigh, 4096 , nullptr , " rpc_evt " );
200200 eventThread->start (&eventHandler);
201201
202- dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 );
202+ dispatcherThread = new rtos::Thread (osPriorityNormal, 4096 , nullptr , " rpc_dispatch " );
203203 dispatcherThread->start (mbed::callback (this , &RPCClass::dispatch));
204204
205- responseThread = new rtos::Thread (osPriorityNormal, 4096 );
205+ responseThread = new rtos::Thread (osPriorityNormal, 4096 , nullptr , " rpc_response " );
206206 responseThread->start (mbed::callback (this , &RPCClass::response));
207207
208208 /* Initialize OpenAmp and libmetal libraries */
@@ -244,6 +244,7 @@ void RPCClass::response() {
244244 osSignalWait (0 , osWaitForever);
245245
246246{
247+
247248 RPCLIB_MSGPACK::unpacker pac;
248249
249250 rx_mtx.lock ();
0 commit comments