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

can malloc be used



Hi,
I write a short program to test thread switch in my kernel,
and I use malloc to allocate the thread control block,but the
kernel dumped when I boot.
But I do test these code on windows in a process address space,
which is ok.And I have called the oskit_clientos_init()function before
doing anything else.
Is the malloc function that causes the error?
  

-- 
Best regards,
 cool                          mailto:hust