This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trans-mem] fix futex syscall for x86_64
On Fri, Mar 26, 2010 at 09:33:18AM +0100, Patrick MARLIER wrote:
> Hello,
>
> In 32 bit version, esi (4th parameter, ie timeout) is set to 0 even
> if it is wait or wake.
> So I guess you might do the same in 64bit. Otherwise, your previous
> patch seems ok if you want to avoid the useless operation in case of
> wake operation.
Yeah, I realized that later. However, Richard and I decided to remove
the futex support altogether, because there's little gain because of the
busy loop on s_lock. Details and patch later today.
Aldy