[ECOS] portability problem in pthread_create()

Lars Viklund lars.viklund@axis.com
Tue Mar 5 11:23:00 GMT 2002


On Tue, 2002-03-05 at 17:56, Bart Veer wrote:
> Rather than change pthread_create() and add aligning overhead to every
> architecture, 

I don't think there is any overhead. The expression I added should be a
compile time constant and on most architectures (all eCos have been
ported to so far except ETRAX) it will be zero.

> I think a better fix would be to change
> Cyg_HardwareThread::attach_stack(). 

That would also be fine.



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list