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


   > Can you expand on why this change is necessary? In particular, I'd like to 
understand what the difference between free and destroy is. It'd be good to 
document these differences more thoroughly in the code too.
   
   Hi , @antmerlino 
   
   Thanks for review, 
   In the process of TCP / IP stack optimization, I have a requirement to 
delete an entry from the iob queue list, but the current implementation of IOB 
does not have this support, look at the API implementation further, I find that 
the free semantics seems to be more suitable for deleting an entry, and the 
current free processing is to destroy the entire iob queue. I think it seems 
that destroy is more suitable for this operations
   


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