lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #7490] Add return value to sys_mbox_post


From: Frédéric Bernon
Subject: [lwip-devel] [task #7490] Add return value to sys_mbox_post
Date: Sun, 06 Jan 2008 19:40:30 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Update of task #7490 (project lwip):

        Percent Complete:                     40% => 50%                    

    _______________________________________________________

Follow-up Comment #28:

(from private emails)

Frédéric BERNON wrote:
> I'm not sure to understand why you set conn::pcb.tcp to NULL before each 
> call to netconn_free. Why don't you set it inside netconn_free ?

Simon answers:
My idea was to make sure that the pcb is deleted outside the 
netconn_free function (since it is called from API thread also). Because 
of that, I included the assert for pcb==NULL to make sure future 
developers think of freeing the pdb before calling netconn_free (the 
name doesn't really tell that the pcb is not freed). Of course it is not 
really needed now, but I think it helps to avoid errors in the future.



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7490>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]