aboutsummaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-04 13:19:20 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-04 13:19:20 +0000
commiteb4063467c4ef625c1687b4c158bacf475821363 (patch)
tree9f47ace87d060f54a05b1315b741acb8ae3f5728 /signal
parent15f32e7b7912df66ff5e1d337e4f621157504058 (diff)
downloadglibc-eb4063467c4ef625c1687b4c158bacf475821363.zip
glibc-eb4063467c4ef625c1687b4c158bacf475821363.tar.gz
glibc-eb4063467c4ef625c1687b4c158bacf475821363.tar.bz2
Update.
1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (ptmalloc_init_all): New function. Similar to ptmalloc_unlock_all, but re-initializes the mutexes instead. (ptmalloc_init): Use new function in thread_at_fork call. (thread_atfork_static): Likewise. Suggested by Wolfram Gloger and Xavier Leroy.
Diffstat (limited to 'signal')
-rw-r--r--signal/Makefile2
-rw-r--r--signal/signal.h21
2 files changed, 6 insertions, 17 deletions
diff --git a/signal/Makefile b/signal/Makefile
index 0642f75..cec0782 100644
--- a/signal/Makefile
+++ b/signal/Makefile
@@ -22,7 +22,7 @@
subdir := signal
headers := signal.h sys/signal.h bits/signum.h bits/sigcontext.h \
- bits/sigaction.h bits/sigset.h bits/siginfo.h
+ bits/sigaction.h bits/sigset.h bits/siginfo.h bits/sigstack.h
routines := signal raise killpg \
sigaction sigprocmask kill \
diff --git a/signal/signal.h b/signal/signal.h
index bbca812..b42d897 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -318,27 +318,16 @@ extern int sigreturn __P ((struct sigcontext *__scp));
calls be restarted after signal SIG. */
extern int siginterrupt __P ((int __sig, int __interrupt));
-
-/* Structure describing a signal stack. */
-struct sigstack
- {
- __ptr_t ss_sp; /* Signal stack pointer. */
- int ss_onstack; /* Nonzero if executing on this stack. */
- };
+# include <bits/sigstack.h>
/* Run signals handlers on the stack specified by SS (if not NULL).
- If OSS is not NULL, it is filled in with the old signal stack status. */
+ If OSS is not NULL, it is filled in with the old signal stack status.
+ This interface is obsolete and on many platform not implemented. */
extern int sigstack __P ((__const struct sigstack *__ss,
struct sigstack *__oss));
-/* Alternate interface. */
-typedef struct sigaltstack
- {
- __ptr_t ss_sp;
- int ss_flags;
- size_t ss_size;
- } stack_t;
-
+/* Alternate signal handler stack interface.
+ This interface should always be preferred over `sigstack'. */
extern int sigaltstack __P ((__const struct sigaltstack *__ss,
struct sigaltstack *__oss));