in librt.
* sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
+2003-06-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellation
+ in librt.
+
2003-06-21 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Support cancellation
2003-06-20 Richard Henderson <rth@redhat.com>
- * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
+ * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
Remove ptw-osf_sigprocmask.
2003-06-18 Jakub Jelinek <jakub@redhat.com>
# 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
# 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 \
+2003-06-24 Roland McGrath <roland@redhat.com>
+
+ * pthread_mutex_trylock.c (__pthread_mutex_trylock): Typo fix.
+
2003-06-24 Ulrich Drepper <drepper@redhat.com>
* pthreadP.h: Declare __find_thread_by_id.
__pthread_mutex_trylock (mutex)
pthread_mutex_t *mutex;
{
- pid_t *id;
+ pid_t id;
switch (__builtin_expect (mutex->__data.__kind, PTHREAD_MUTEX_TIMED_NP))
{