[PATCH] PPC32 cancellation support
Jakub Jelinek
jakub@redhat.com
Sat Jan 4 20:33:00 GMT 2003
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
More information about the Libc-alpha
mailing list