mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-01 05:22:25 +07:00
examples: update comments
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+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
|
||||
* traditional aspects of UNIX. Since libuEV is just a wrapper for
|
||||
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
|
||||
else
|
||||
robot = "Pusher";
|
||||
|
||||
setsid();
|
||||
setsid(); /* puts child in new process group */
|
||||
uev_init(&ctx);
|
||||
|
||||
/* example worker, a timer callback */
|
||||
|
||||
Reference in New Issue
Block a user