From 56421b23d7d20f0278ddbe2091cc05a320748e58 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 3 Jul 2003 07:37:59 +0000 Subject: Update. 2003-07-03 Ulrich Drepper * sysdeps/pthread/librt-cancellation.c (__pthread_unwind): Remove definition. * pthreadP.h (__pthread_unwind): Add hidden_proto if used in libpthread compilation. * unwind.c (__pthread_unwind): Add hidden_def. * Versions (libpthread) [GLIBC_PRIVATE]: Add __pthread_unwind. --- nptl/sysdeps/pthread/librt-cancellation.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'nptl/sysdeps/pthread/librt-cancellation.c') diff --git a/nptl/sysdeps/pthread/librt-cancellation.c b/nptl/sysdeps/pthread/librt-cancellation.c index b5a118f912..ae9dd2ad97 100644 --- a/nptl/sysdeps/pthread/librt-cancellation.c +++ b/nptl/sysdeps/pthread/librt-cancellation.c @@ -25,21 +25,6 @@ #ifdef IS_IN_librt - -/* XXX Hack ahead. In librt we currently do not have access to a - function equivalent to __pthread_unwind. Therefore we just raise a - signal. */ -void -attribute_hidden -__pthread_unwind (__pthread_unwind_buf_t *buf) -{ - INTERNAL_SYSCALL_DECL (err); - while (1) - INTERNAL_SYSCALL (tkill, err, 2, THREAD_GETMEM (THREAD_SELF, tid), - SIGCANCEL); -} - - /* The next two functions are similar to pthread_setcanceltype() but more specialized for the use in the cancelable functions like write(). They do not need to check parameters etc. */ -- cgit v1.2.3