lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #17922] mem_malloc bug


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #17922] mem_malloc bug
Date: Wed, 11 Apr 2007 11:34:14 +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 #8, bug #17922 (project lwip):

>some bare-bone raw-API micro's simply don't have semaphores. 

Yes, but for raw-API-only you normally don't need to protect mem_malloc()
since you don't have multiple threads (and if you have multiple threads,
normally you have semaphores). The reason for this is that in interrupt
context (which in a thread-less design is the only source of parallelism),
only PBUF_POOL types should be allocated, so our heap is not touched.

Anyway, this is no problem for me, since I'm not using the heap. Just wanted
to point out a possible problem...

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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