diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-02-27 18:39:21 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-02-27 18:39:21 +0000 |
commit | 606def5ccdb22475cc671fb3f0c7dddfab350bb3 (patch) | |
tree | e734603433ad67be5882a13633ab60a9c31583e1 /libpthread | |
parent | 3710c5b331d8fc17e5782b843ece221d52738c36 (diff) |
Remove some debugging code
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads/signals.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/signals.c b/libpthread/linuxthreads/signals.c index de156e15a..fb5e6f6bc 100644 --- a/libpthread/linuxthreads/signals.c +++ b/libpthread/linuxthreads/signals.c @@ -133,7 +133,9 @@ int sigaction(int sig, const struct sigaction * act, struct sigaction newact; struct sigaction *newactp; +#ifdef DEBUG_PT printf(__FUNCTION__": pthreads wrapper!\n"); +#endif if (sig == __pthread_sig_restart || sig == __pthread_sig_cancel || (sig == __pthread_sig_debug && __pthread_sig_debug > 0)) @@ -155,7 +157,9 @@ printf(__FUNCTION__": pthreads wrapper!\n"); newactp = NULL; if (__libc_sigaction(sig, newactp, oact) == -1) return -1; +#ifdef DEBUG_PT printf(__FUNCTION__": signahdler installed, __sigaction successful\n"); +#endif if (sig > 0 && sig < NSIG) { if (oact != NULL) |