This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

About malloc() ....


Hi everybody,

I would like to know what are the requirements for the malloc()
function.

I have created a thread who calls the malloc() function, after 3 calls
with a size of 0x1000h, it returns NULL. The stack size allocated to
this thread is 4000000 !!!

Can somebody explain me this strange behaviour ?

Ho, my architecture is MPC860 with 32meg of sdram and i am using ecos
v1.2.1 because I have not enought time to begin the 1.3.1 port to my
board.

Thanks,

Have a nice day.

Alexandre d'Alton.
begin:vcard 
n:d'Alton;Alexandre
tel;cell:06 16 24 62 89
tel;work:05 61 19 15 03 
x-mozilla-html:FALSE
org:MOTOROLA
version:2.1
email;internet:r9954c@email.mot.com
title:Application Engineer
adr;quoted-printable:;;MOTOROLA=0D=0ALe Mirail, B.P. 1029;TOULOUSE;;31023;FRANCE
fn:Alexandre d'Alton
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]