xiaoxiang781216 commented on code in PR #1358: URL: https://github.com/apache/incubator-nuttx-apps/pull/1358#discussion_r998905472
########## testing/ostest/prioinherit.c: ########## @@ -530,6 +530,8 @@ void priority_inheritance(void) g_medpri = my_pri - 1; sem_init(&g_sem, 0, NLOWPRI_THREADS); + sem_setprotocol(&g_sem, SEM_PRIO_INHERIT); Review Comment: since this is used to test the api usage, it's better to call the core api directly instead of wrapper. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org