This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Broken cancelable syscalls in librt w/ linuxthreads


On Fri, Aug 20, 2004 at 11:45:35PM +0200, Andreas Schwab wrote:
> When building with linuxthreads the functions __librt_enable_asynccancel
> and __librt_disable_asynccancel are just aliases to the libc variants,
> thus part of libc instead of librt.  The ia64 syscall stubs don't expect
> that and don't save gp around these calls.  That hasn't been a problem
> before, because librt didn't include any cancelable functions that were
> implemented as direct syscalls.

Then it should be done only #ifdef IS_IN_librt and not for libpthread
or libc.

	Jakub


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