lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27996] Thread-safety of tcp_timer_needed()


From: Albert Bartel
Subject: [lwip-devel] [bug #27996] Thread-safety of tcp_timer_needed()
Date: Wed, 11 Nov 2009 13:53:01 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 (.NET CLR 3.5.30729)

URL:
  <http://savannah.nongnu.org/bugs/?27996>

                 Summary: Thread-safety of tcp_timer_needed()
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: albertb
            Submitted on: Mi 11 Nov 2009 13:53:00 GMT
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

The function tcp_timer_needed(void) should not call

sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL);

directly, but tell the tcpip thread to set the timeout thread-safe by calling
the existing function

tcpip_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL);

that sends TCPIP_MSG_TIMEOUT to the tcpip thread.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27996>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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