anchao commented on pull request #3895:
URL: https://github.com/apache/incubator-nuttx/pull/3895#issuecomment-858771262


   > > The new fd will be in a pending state before accept is successful, if 
the application creates a task when accepting, the pending fd will be dup(), 
but since newsock->s_conn has not been initialized, assert will be triggered 
when inet_addref()
   > 
   > do you mean that, while a thread is blocking in accept(), another thread 
in the same task group causes dup() of the fd?
   
   Yep.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to