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]
Other format: [Raw text]

Re: portability problem in pthread_create()


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


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