projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f0a49
)
always taking an interest in ppid wont hurt
22/2822/1
author
Andy Green
<andy.green@linaro.org>
Wed, 17 Oct 2012 12:10:44 +0000
(20:10 +0800)
committer
Kevron 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
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
2f5b4d0
..
c64f245
100644
(file)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-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
}