[XForms] fl_check_forms

Matthew Yaconis myaconis at nycap.rr.com
Thu Sep 23 09:30:26 EDT 2004


I coded an application that loads a significant amount of data from a database.  The way the program is supposed to work is:

1.  User clicks "Load"
2.  A message appears (a custom form) (Please wait...loading data).
3.  Data loads (20-30 seconds)
4.  The message is hidden.
5.  Normal operation occurs.

However, when I originally coded this, I used fl_show_form to show the message form effectively within the "load" callback routine and then started to query the database.  Usually what would happen with that was either the message wouldn't show up or there would be a black box where the message form was supposed to appear.  In order to remedy this, I added a call to fl_check_forms immediately after the fl_show_form call.  This caused the window to appear but the following messages appear:

      In RemoveTimeout [timeout.c 102] ID 560 not found -- Resource
temporarily unavailable.
      In RemoveTimeout [timeout.c 102] ID 559 not found
      In RemoveTimeout [timeout.c 102] ID 558 not found
      In RemoveTimeout [timeout.c 102] ID 557 not found
      In RemoveTimeout [timeout.c 102] ID 556 not found
      In RemoveTimeout [timeout.c 102] ID 555 not found
      In RemoveTimeout [timeout.c 102] ID 554 not found

Sometimes I get more messages sometimes less.  I think the Resource temporarily unavailable message actually generates the multiple timeout routine and the program performance gets extremely poor.

Does anyone have an idea as to why this is occuring?  


More information about the Xforms mailing list