[En-Nut-Discussion] NutHeapRealloc

Nathan Moore nategoose at gmail.com
Wed May 28 15:44:58 CEST 2008


>
> > Ok, but if you have a static inline NutThreadInitThreadStructure you
> > have no overhead and a clean design (reasons see above.).
>
> Are you shure? Defining inline functions does not work (inline) over the
> border of a single c file, right? I don't know how it should work as the
> compiler generates a single .o file for every c file. In this case the
> compiler will call the function as a normal function, right?


Put them in an arch/ header that's indirectly included in thread.c based on
the target.



More information about the En-Nut-Discussion mailing list