pussuw commented on code in PR #14465:
URL: https://github.com/apache/nuttx/pull/14465#discussion_r1812176461
##########
sched/semaphore/sem_wait.c:
##########
@@ -69,17 +68,12 @@
*
****************************************************************************/
-int nxsem_wait(FAR sem_t *sem)
+static int nxsem_wait_slow(FAR sem_t *sem)
{
FAR struct tcb_s *rtcb = this_task();
irqstate_t flags;
int ret;
- /* This API should not be called from interrupt handlers & idleloop */
-
- DEBUGASSERT(sem != NULL && up_interrupt_context() == false);
Review Comment:
Why are these not relevant anymore?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]