diff options
author | fcolin | 2006-11-09 08:53:04 +0000 |
---|---|---|
committer | fcolin | 2006-11-09 08:53:04 +0000 |
commit | a9ad4a28f9ddfb9f95275490372aa737e9c5ce26 (patch) | |
tree | ee54c6899b0b8c98e1c486ea29d42ebe5b04ce43 /doc | |
parent | bce98b3eb7e9600dfd857db12bbff0e34ebe40a3 (diff) | |
download | ivy-c-a9ad4a28f9ddfb9f95275490372aa737e9c5ce26.zip ivy-c-a9ad4a28f9ddfb9f95275490372aa737e9c5ce26.tar.gz ivy-c-a9ad4a28f9ddfb9f95275490372aa737e9c5ce26.tar.bz2 ivy-c-a9ad4a28f9ddfb9f95275490372aa737e9c5ce26.tar.xz |
update Channel DOC
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ivy-c.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
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(); } </programlisting> @@ -308,14 +308,14 @@ environment variable is not defined, the default value <parameter>"127:2010"</parameter> is used. <programlisting> -void IvyMainLoop (void (*hook) (void)); +void IvyMainLoop (); </programlisting> 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 <function>select</function> POSIX system call. -If non-null, <parameter>hook</parameter> is called every time the main loop is -about to enter <function>select</function>, and can be used (with care!) to -extend the main loop. +You can interact with the mainloop using hook before and after <function>select</function> + use the <function>IvySetBeforeSelectHook</function> and <function>IvySetAfterSelectHook</function> + <programlisting> void IvyStop (); |