File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
FreeRTOS-Plus-POSIX/source Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ static void prvExitThread( void )
102102 pthread_internal_t * pxThread = ( pthread_internal_t * ) pthread_self ();
103103
104104 vTaskSuspendAll ();
105+
105106 /* If this thread is joinable, wait for a call to pthread_join. */
106107 if ( pthreadIS_JOINABLE ( pxThread -> xAttr .usSchedPriorityDetachState ) )
107108 {
@@ -362,7 +363,7 @@ int pthread_create( pthread_t * thread,
362363 }
363364
364365 /* End the critical section. */
365- xTaskResumeAll ();
366+ ( void ) xTaskResumeAll ();
366367 }
367368
368369 return iStatus ;
@@ -470,7 +471,7 @@ int pthread_join( pthread_t pthread,
470471 vPortFree ( pxThread );
471472
472473 /* End the critical section. */
473- xTaskResumeAll ();
474+ ( void ) xTaskResumeAll ();
474475 }
475476
476477 return iStatus ;
@@ -529,7 +530,7 @@ int pthread_detach(pthread_t pthread)
529530 }
530531
531532 /* End the critical section. */
532- xTaskResumeAll ();
533+ ( void ) xTaskResumeAll ();
533534 }
534535
535536 return iStatus ;
You can’t perform that action at this time.
0 commit comments