diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-09-09 22:03:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-09-09 22:03:42 +0200 |
commit | 53f4876abcebf3f05d2a88bba3a898ddcda25a74 (patch) | |
tree | 7413b4f4ab565e4784f26ee347e2a1ff46ea467e /libguile/scmsigs.c | |
parent | 69f23174d313650ca8fb0f69ede45c48d7a26b05 (diff) | |
parent | 242ebeaf083cc43a9df18ac4436178d9b3ff66e5 (diff) | |
download | guile-53f4876abcebf3f05d2a88bba3a898ddcda25a74.tar.gz |
Merge branch 'master' into strftime-gnulib
Conflicts:
libguile/ChangeLog
srfi/ChangeLog
test-suite/ChangeLog
Diffstat (limited to 'libguile/scmsigs.c')
-rw-r--r-- | libguile/scmsigs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c index d05bdac67..3a8596a6d 100644 --- a/libguile/scmsigs.c +++ b/libguile/scmsigs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2004, 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2004, 2006, 2007, 2008 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -680,8 +680,10 @@ scm_i_close_signal_pipe() been launched at this point, it never will be before shutdown. */ scm_i_pthread_mutex_lock (&signal_delivery_thread_mutex); +#if SCM_USE_PTHREAD_THREADS if (scm_i_signal_delivery_thread != NULL) close (signal_pipe[1]); +#endif scm_i_pthread_mutex_unlock (&signal_delivery_thread_mutex); } |