This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH]: Fix pause calcellation on sparc64*-linux


From: David Miller <davem@davemloft.net>
Date: Fri, 09 May 2008 01:52:05 -0700 (PDT)

> 
> When using -fexceptions based cancellations, pause() does not
> unwind into the cancellation handler correctly on sparc64*-linux.
> 
> This is because sparc64*-*-linux uses the C implementation of
> pause() found under glibc/sysdeps/posix/pause.c
> 
> Therefore, we have to build both ptw-pause.c and ptw-sigsuspend.c
> with -fexceptions so that we can fully unwind into the caller's
> cancellation block.
> 
> This fixes nptl/tst-cancelx4 on sparc64*-linux as well as any
> other test that required pause() cancellation to work with
> -fexceptions
> 
> Please apply, thanks.

Ping?


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