mraja-brooks commented on issue #11292:
URL: https://github.com/apache/nuttx/issues/11292#issuecomment-1832964173

   Could it be that since we do timeout, e.g. 100ms, _net_timedwait exits and 
return to for loop to run net_timedwait again but during this time the 
sched_unlock and leave_critical_section is called in _net_timedwait which 
allows other tasks to run allowing tcp_send_eventhandler being called sooner?
   
   Should scheduler be locked and IRQs be disabled in _net_timedwait?


-- 
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

Reply via email to