mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-01 12:20:30 +00:00
examples: update comments
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
8f96965d35
commit
042f1b59bf
1 file changed
+2
-2
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
/* Example of how to handle signal, in this case Ctrl-C
|
/* Example with fork and signals, in this case Ctrl-C, from terminal
|
||||||
*
|
*
|
||||||
* A common problem for users of libuEV is how to combine it with the
|
* A common problem for users of libuEV is how to combine it with the
|
||||||
* traditional aspects of UNIX. Since libuEV is just a wrapper for
|
* traditional aspects of UNIX. Since libuEV is just a wrapper for
|
||||||
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
|
|||||||
else
|
else
|
||||||
robot = "Pusher";
|
robot = "Pusher";
|
||||||
|
|
||||||
setsid();
|
setsid(); /* puts child in new process group */
|
||||||
uev_init(&ctx);
|
uev_init(&ctx);
|
||||||
|
|
||||||
/* example worker, a timer callback */
|
/* example worker, a timer callback */
|
||||||
|
|||||||
Reference in new issue
Block a user