Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Stack alignement with pthreads



On Fri, Aug 29, 2008 at 12:26:51AM +0200, Anthony Mallet wrote:
> It *seems* that the stack of pthreads is always offset by 4 bytes, thus 
> messing
> up the gcc aligment efforts. Below is a short program that illustrates this.

The stack base alignement provided for threads depends on the architecture.
What alignement does gcc expect on i386?

Martin


Home | Main Index | Thread Index | Old Index