[PATCH] PPC32 cancellation support

Jakub Jelinek jakub@redhat.com
Sat Jan 4 21:09:00 GMT 2003


On Sat, Jan 04, 2003 at 10:01:16PM +0100, Franz Sirl wrote:
> Any idea about the AIO problem?

Nope.

> > 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.
> 
> Hmm, what advantage would that have? The PSEUDO macro is there now and the 
> generated code of the compiler is not as good.

E.g. that pread/pwrite would be cancellable even if the syscall is not
present. Plus tst-cancel-wrapper probably cannot recognize that pread/pwrite
has having the cancellation.

	Jakub



More information about the Libc-alpha mailing list