lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] malloc and sys_arch


From: Kieran Mansley
Subject: [lwip-users] Re: [lwip] malloc and sys_arch
Date: Thu, 09 Jan 2003 01:49:54 -0000

On Wed, 13 Nov 2002, mt wrote:
> The problem I'm running into is this:
> mem_init calls sys_sem_new() to setup mem_sem
> sys_sem_new() calls malloc()
> malloc() is really mem_malloc()
> mem_malloc() waits for mem_sem
> mem_sem isn't setup yet.
>
> does anyone else use mem_malloc as thier malloc?  with
> threads?  any (-clean-) ideas?

I don't (just use the standard malloc as it's faster) but you do seem to
have a point.  I can't believe that no one would have run into this before
though, so it *must* be ok!  Anyone got any thoughts on what might be the
problem?

Kieran

[This message was sent through the lwip discussion list.]




reply via email to

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