From a9ad4a28f9ddfb9f95275490372aa737e9c5ce26 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 9 Nov 2006 08:53:04 +0000 Subject: update Channel DOC --- doc/ivy-c.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ivy-c.sgml b/doc/ivy-c.sgml index b737f6c..f1b759f 100644 --- a/doc/ivy-c.sgml +++ b/doc/ivy-c.sgml @@ -195,7 +195,7 @@ main (int argc, char**argv) IvyBindMsg (ByeCallback, 0, "^Bye$"); /* main loop */ - IvyMainLoop (0); + IvyMainLoop(); } @@ -308,14 +308,14 @@ environment variable is not defined, the default value "127:2010" is used. -void IvyMainLoop (void (*hook) (void)); +void IvyMainLoop (); makes your application enter the main loop in which it will handle asynchronous communications and signals. This is the default Ivy main loop, based on the select POSIX system call. -If non-null, hook is called every time the main loop is -about to enter select, and can be used (with care!) to -extend the main loop. +You can interact with the mainloop using hook before and after select + use the IvySetBeforeSelectHook and IvySetAfterSelectHook + void IvyStop (); -- cgit v1.1