* [PATCH] SH portion of cancellation support in librt
@ 2003-06-20 12:21 kaz Kojima
2003-06-25 4:05 ` Roland McGrath
0 siblings, 1 reply; 2+ messages in thread
From: kaz Kojima @ 2003-06-20 12:21 UTC (permalink / raw)
To: libc-hacker
Hi,
Here is the SH portion of Jakub's patch for linuxthreads:
<URL:http://sources.redhat.com/ml/libc-hacker/2003-06/msg00034.html>.
Regards,
kaz
--
2003-06-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellation
in librt.
diff -u3prN ORIG/libc/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h LOCAL/libc/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
--- ORIG/libc/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h Wed Apr 30 10:13:06 2003
+++ LOCAL/libc/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h Fri Jun 20 15:49:52 2003
@@ -23,7 +23,7 @@
# include <linuxthreads/internals.h>
#endif
-#if !defined NOT_IN_libc || defined IS_IN_libpthread
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
# define _IMM12 #-12
# define _IMM16 #-16
@@ -92,10 +92,13 @@
# define __local_enable_asynccancel __pthread_enable_asynccancel
# define __local_disable_asynccancel __pthread_disable_asynccancel
# define __local_multiple_threads __pthread_multiple_threads
-# else
+# elif !defined NOT_IN_libc
# define __local_enable_asynccancel __libc_enable_asynccancel
# define __local_disable_asynccancel __libc_disable_asynccancel
# define __local_multiple_threads __libc_multiple_threads
+# else
+# define __local_enable_asynccancel __librt_enable_asynccancel
+# define __local_disable_asynccancel __librt_disable_asynccancel
# endif
# define CENABLE \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] SH portion of cancellation support in librt
2003-06-20 12:21 [PATCH] SH portion of cancellation support in librt kaz Kojima
@ 2003-06-25 4:05 ` Roland McGrath
0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2003-06-25 4:05 UTC (permalink / raw)
To: kaz Kojima; +Cc: libc-hacker
> Here is the SH portion of Jakub's patch for linuxthreads:
> <URL:http://sources.redhat.com/ml/libc-hacker/2003-06/msg00034.html>.
I put this in. Thanks.
Roland
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-25 4:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-20 12:21 [PATCH] SH portion of cancellation support in librt kaz Kojima
2003-06-25 4:05 ` Roland McGrath
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).