[Top][All Lists]

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

[lwip-devel] [patch #5919] Create compile switch to remove select code

From: Frédéric Bernon
Subject: [lwip-devel] [patch #5919] Create compile switch to remove select code
Date: Tue, 22 May 2007 21:36:09 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20070309 Firefox/

Follow-up Comment #11, patch #5919 (project lwip):

I think to extend LWIP_SO_RCVTIMEO to TCP connections. It will be the same
code, or something near...

But, I don't like this part of code in netconn_recv:

    /* If we are closed, we indicate that we no longer wish to receive
       data by setting conn->recvmbox to SYS_MBOX_NULL. */
    if (p == NULL) {
      memp_free(MEMP_NETBUF, buf);
      conn->recvmbox = SYS_MBOX_NULL;
      return NULL;

I think it's not very thread-safe...


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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