lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5453] pbuf patch for SYS_LIGHTWEIGHT_PROT=0


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #5453] pbuf patch for SYS_LIGHTWEIGHT_PROT=0
Date: Tue, 03 Apr 2007 11:18:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #7, patch #5453 (project lwip):

Hm, but what was Christiaan thinking SYS_LIGHTWEIGHT_PROT=0 is doing? I can
only think of _one_ scenario where this can work: if you have _not a single_
context switch, meaning you have only lwip raw api (no OS, no threads) and
your packets aren't delivered in interrupt context but through polling the
ethernet device. In this special case, you needn't lock the pbuf pool, for
example, and you're faster then!

But then, we should agree that SYS_LIGHTWEIGHT_PROT=0 does mean 'no
protection' and not 'using semaphores as protection'. And we have to document
that!

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5453>

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





reply via email to

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