aboutsummaryrefslogtreecommitdiff
path: root/src/util/scheduler.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-12-13 15:36:28 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-12-13 15:36:28 +0000
commitfe0fcf3d71165735b68910c674232f129c7b5fb4 (patch)
tree8657785f5c3bbab16dfef8c068aeb643625daba8 /src/util/scheduler.c
parent7d1a7943c92a1bf8ad015ac4ca3452ffe87717c5 (diff)
downloadgnunet-fe0fcf3d71165735b68910c674232f129c7b5fb4.tar.gz
gnunet-fe0fcf3d71165735b68910c674232f129c7b5fb4.zip
- logging
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r--src/util/scheduler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c
index d72fc7fd2..995bd3a85 100644
--- a/src/util/scheduler.c
+++ b/src/util/scheduler.c
@@ -642,6 +642,8 @@ sighandler_shutdown ()
642 if (getpid () != my_pid) 642 if (getpid () != my_pid)
643 exit (1); /* we have fork'ed since the signal handler was created, 643 exit (1); /* we have fork'ed since the signal handler was created,
644 * ignore the signal, see https://gnunet.org/vfork discussion */ 644 * ignore the signal, see https://gnunet.org/vfork discussion */
645 LOG (GNUNET_ERROR_TYPE_DEBUG,
646 "Got signal %d from parent, writing to shutdown pipe\n");
645 GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle 647 GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle
646 (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE), 648 (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE),
647 &c, sizeof (c)); 649 &c, sizeof (c));