[Top][All Lists]

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

[lwip-devel] [patch #7855] Provide alternative timeout implementation

From: Michael Steinberg
Subject: [lwip-devel] [patch #7855] Provide alternative timeout implementation
Date: Sun, 09 Aug 2015 18:15:21 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #10, patch #7855 (project lwip):

Oh, another idea might be to let the timer handler function return a new
timeout (or 0/UINT_MAX/...) rather than re-registering. It seems reasonable to
store timeout timers in a heap, in which case one could reuse the spot and
sift-down instead of pop+push. But that's maybe just a micro-optimization ;)


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

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