GUIDINGLI commented on a change in pull request #4782: URL: https://github.com/apache/incubator-nuttx/pull/4782#discussion_r747174852
########## File path: sched/semaphore/sem_trywait.c ########## @@ -69,10 +69,6 @@ int nxsem_trywait(FAR sem_t *sem) irqstate_t flags; int ret; - /* This API should not be called from interrupt handlers */ Review comment: @davids5 Directly remove is the simply way to sem_trywait(), use CONFIG_DEBUG_MM under `sched` folder is NOT suitable. I strongly suggest keep current code. -- 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