about summary refs log tree commit diff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-05-03 07:39:22 +0000
committerUlrich Drepper <drepper@redhat.com>2002-05-03 07:39:22 +0000
commit38a7d8baf498dd46f81ff49ea28eb3b3b7775544 (patch)
tree9ab47cc3c0a86d3239957903d475564d28cdc5db /linuxthreads/internals.h
parent3dbbe24e84fe0f5f87e274ffdba56d6bfd552244 (diff)
downloadglibc-38a7d8baf498dd46f81ff49ea28eb3b3b7775544.tar.gz
glibc-38a7d8baf498dd46f81ff49ea28eb3b3b7775544.tar.xz
glibc-38a7d8baf498dd46f81ff49ea28eb3b3b7775544.zip
Update.
2002-05-02  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ia64/Makefile: Add ia64libgcc in csu subdir.
	* sysdeps/ia64/Versions (__divtf3, __divdf3, __divsf3, __divdi3,
	__moddi3, __udivdi3, __umoddi3, __multi3): Export at GLIBC_2.0.
	* sysdeps/ia64/ia64libgcc.S: New file.

2002-05-02  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/dl-tls.c (oom): Implement using _dl_fatal_printf.

	* malloc/memusage.c: Distinguish anonymous mmap.
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 45a73ad194..39c545c5e1 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -20,8 +20,10 @@
 /* Includes */
 
 #include <limits.h>
+#include <signal.h>
 #include <unistd.h>
 #include <stackinfo.h>
+#include <sigcontextinfo.h>
 
 #include <tls.h>
 #include "descr.h"
@@ -93,6 +95,16 @@ struct pthread_request {
 };
 
 
+
+typedef void (*arch_sighandler_t) (int, SIGCONTEXT);
+union sighandler
+{
+  arch_sighandler_t old;
+  void (*rt) (int, struct siginfo *, struct ucontext *);
+};
+extern union sighandler __sighandler[NSIG];
+
+
 /* Signals used for suspend/restart and for cancellation notification.  */
 
 extern int __pthread_sig_restart;
@@ -367,4 +379,11 @@ extern void __linuxthreads_reap_event (void);
 /* This function is called to initialize the pthread library.  */
 extern void __pthread_initialize (void);
 
+
+/* Sighandler wrappers.  */
+extern void __pthread_sighandler(int signo, SIGCONTEXT ctx);
+extern void __pthread_sighandler_rt(int signo, struct siginfo *si,
+				    struct ucontext *uc);
+extern void __pthread_null_sighandler(int sig);
+
 #endif /* internals.h */