none

Michael Hohmuth hohmuth at innocent.com
Thu Jul 8 04:27:05 CEST 1999


benben xiao <xiaoxiaoben at hotmail.com> writes:

>   I recently see the Fiasco resoure.I have a problem that I found
>   main.cc
>   55  kernel_thread_t *kernel=new(&config::kernel_id);
> call main.cc 80 kernel_thread_t::operator new(size_t,threadid_t id);.
> I don't know how to transmit the parameter of type size_t.

You don't -- the compiler generates it implicitly.  There is a
difference between the "new" operator and the "operator new" function.
For more information please consult a good book on C++.

Michael
-- 
hohmuth at innocent.com, hohmuth at inf.tu-dresden.de
http://home.pages.de/~hohmuth/



More information about the l4-hackers mailing list