From eb4063467c4ef625c1687b4c158bacf475821363 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 4 May 1998 13:19:20 +0000 Subject: Update. 1998-05-04 12:40 Ulrich Drepper * 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. --- signal/Makefile | 2 +- signal/signal.h | 21 +++++---------------- 2 files changed, 6 insertions(+), 17 deletions(-) (limited to 'signal') 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 /* 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)); -- cgit v1.1