File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -216,10 +216,10 @@ static void *thread_signaler(void *parameter)
216216
217217#if defined(CONFIG_SMP ) && (CONFIG_SMP_NCPUS > 1 )
218218 /* Workaround for SMP:
219- * In multi-core environment, thread_signaler would be excecuted prior
219+ * In multi-core environment, thread_signaler would be executed prior
220220 * to the thread_waiter, even though priority of thread_signaler is
221221 * lower than the thread_waiter. In this case, thread_signaler will
222- * aquire mutex before the thread_waiter aquires it and will show
222+ * acquire mutex before the thread_waiter acquire it and will show
223223 * the error message such as "thread_signaler: ERROR waiter state...".
224224 * To avoid this situaltion, we add the following usleep()
225225 */
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ static FAR void *lowpri_thread(FAR void *parameter)
352352 while (g_middlestate == NOTSTARTED &&
353353 nhighpri_waiting () < NHIGHPRI_THREADS )
354354 {
355- printf ("lowpri_thread-%d: Waiting for the midle pri task to run\n" ,
355+ printf ("lowpri_thread-%d: Waiting for the mid pri task to run\n" ,
356356 threadno );
357357 printf (" g_middlestate: %d\n" , (int )g_middlestate );
358358 for (i = 0 ; i < NHIGHPRI_THREADS ; i ++ )
@@ -403,7 +403,7 @@ static FAR void *lowpri_thread(FAR void *parameter)
403403 */
404404
405405 printf ("lowpri_thread-%d: %s the middle priority task has already"
406- " exitted !\n" ,
406+ " exited !\n" ,
407407 threadno , count >= 0 ? "SUCCESS" : "ERROR" );
408408 ASSERT (count >= 0 );
409409 printf (" g_middlestate: %d sem count=%d\n" ,
@@ -657,7 +657,7 @@ void priority_inheritance(void)
657657 if (status != 0 )
658658 {
659659 printf ("priority_inheritance: "
660- "ERRROR pthread_create failed, status=%d\n" , status );
660+ "ERROR pthread_create failed, status=%d\n" , status );
661661 ASSERT (false);
662662 }
663663 }
Original file line number Diff line number Diff line change @@ -532,7 +532,7 @@ void signest_test(void)
532532 total_handled = g_odd_handled + g_even_handled ;
533533 total_nested = g_odd_nested + g_even_nested ;
534534
535- printf ("signest_test: With intefering thread\n" );
535+ printf ("signest_test: With interfering thread\n" );
536536 printf (" Total signalled %-3d Odd=%-3d Even=%-3d\n" ,
537537 total_signals , odd_signals , even_signals );
538538 printf (" Total handled %-3d Odd=%-3d Even=%-3d\n" ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ static int waitpid_main(int argc, char *argv[])
5959
6060 printf ("waitpid_main: PID %d Started\n" , me );
6161 sleep (3 );
62- printf ("waitpid_main: PID %d exitting with result=%d\n" ,
62+ printf ("waitpid_main: PID %d exiting with result=%d\n" ,
6363 me , RETURN_STATUS );
6464 return RETURN_STATUS ;
6565}
You can’t perform that action at this time.
0 commit comments