always taking an interest in ppid wont hurt 22/2822/1
authorAndy Green <andy.green@linaro.org>
Wed, 17 Oct 2012 12:10:44 +0000 (20:10 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:21 +0000 (13:01 -0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c

index 2f5b4d0..c64f245 100644 (file)
@@ -3032,7 +3032,7 @@ libwebsockets_fork_service_loop(struct libwebsocket_context *context)
        while (1) {
                if (libwebsocket_service(context, 1000))
                        break;
-#ifndef HAVE_SYS_PRCTL_H
+//#ifndef HAVE_SYS_PRCTL_H
 /*
  * on systems without prctl() (i.e. anything but linux) we can notice that our
  * parent is dead if getppid() returns 1. FIXME apparently this is not true for
@@ -3041,7 +3041,7 @@ libwebsockets_fork_service_loop(struct libwebsocket_context *context)
 
         if (getppid() == 1)
             break;
-#endif
+//#endif
     }