This is the mail archive of the libc-alpha@sources.redhat.com 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] PPC32 cancellation support


On Sat, Jan 04, 2003 at 05:06:01PM +0100, Franz Sirl wrote:
>	* linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
>	New file.

Thanks for working on this.

> 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark
> 	__syscall_pread64 and __syscall_pwrite64 cancellable.

IMHO the cancellation wrappers belong to linux/powerpc/{pread,pwrite}.c,
not to the __syscall_ stubs (ie. include sysdep-cancel.h instead of sysdep.h
in the C code and use LIBC_CANCEL_ASYNC and LIBC_CANCEL_RESET macros
together with SINGLE_THREAD_P.
Also, why doesn't it use INLINE_SYSCALL?

	Jakub


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