XForms: Async I/O

Dick Middleton (dick@sqf.hp.com)
Fri, 9 Apr 1999 11:22:10 +0100

# To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

I'm having difficulty with fl_set_io_callback( ... FL_WRITE ... ) on Linux
2.0.35 xforms 0.89.

What I find is that if I make the fl_set_io_callback call followed by
fl_do_forms then I get continuous invocations of the callback even though
there is no I/O activity.

The manual says that the callback is invoked when the Tx buffer is available
(which, pedantically, could be continuous) but I would have thought that the
CB would be called just once on write completion i.e. at the transition
between unavailable and available. The continuous calling of the CB looks
like a problem to me.

I'm still investigating but if anybody knows anything about this or what
might be wrong I'd appreciate some help.

Dick

-------------------------------------------------------------------------------

Dick Middleton
Phone: +44 131-331 7530
Fax: +44 131-331 7443 ( )
email: dickm@cheerful.com ( )
( )
( ) . ~ ~ ~ ~~ .
( ) _______
( ) |
. ~ ~ ~ ~~ . |
/O\
-------------------------------------( o )-------------------------------------
- I'd rather be soaring

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/