summaryrefslogtreecommitdiff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-29 18:41:02 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-29 18:41:02 +0000
commitddbf7fef451eeb417ea28ca114f8f12c58dd5ca8 (patch)
tree4dbe0d974d84993dd580f97744121ae965ca4e2e /linuxthreads/internals.h
parentef5742267ce858e059ee27033014c24f009bb326 (diff)
downloadglibc-ddbf7fef451eeb417ea28ca114f8f12c58dd5ca8.tar.gz
Update.
1998-07-29 Mark Kettenis <kettenis@phys.uva.nl> * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function. (__getpid): New function. (abort): New function. * nis/nis_cache2_xdr.c: Removed.
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index d68adeb987..62c14c606d 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -130,16 +130,13 @@ struct pthread_request {
/* Signals used for suspend/restart and for cancellation notification. */
-#ifdef SIGRTMIN
-/* The have real-time signals. */
extern int __pthread_sig_restart;
extern int __pthread_sig_cancel;
-# define PTHREAD_SIG_RESTART __pthread_sig_restart
-# define PTHREAD_SIG_CANCEL __pthread_sig_cancel
-#else
-# define PTHREAD_SIG_RESTART SIGUSR1
-# define PTHREAD_SIG_CANCEL SIGUSR2
-#endif
+
+/* Default signals used if we don't have realtime signals */
+
+#define DEFAULT_SIG_RESTART SIGUSR1
+#define DEFAULT_SIG_CANCEL SIGUSR2
/* Global array of thread handles, used for validating a thread id
and retrieving the corresponding thread descriptor. Also used for