Hi
I have a program that opens multiple forms, a main form, a gl drawing form
and other sub forms. The program forks (really using the SGI sproc call
with PR_SADDR) off a sub -process (a long "for" loop) which does some
computation (polling of serial and audio ports) and udpates opened forms
(buttons, lights, text, inputs and browsers) as it loops. To control the flow
of this sub-process, the main form passes event flags to the sub-process
through error control flags. I did not use fl_check_forms in the sub-
process because it could not respond fast enough or did not allow control
of the main form.
The forked off process works and does check any conditions passed to it
from the main form - but after a while I get async Xerrors and the form
freezes with either the async error or Badlength error.
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 56 (X_ChangeGC)
Serial number of failed request: 19680
Current serial number in output stream: 19733
Xlib: unexpected async reply (sequence 0xb1ea)!
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 38 (X_QueryPointer)
Resource id in failed request: 0x3400045
Serial number of failed request: 45560
Current serial number in output stream: 45370
Any ideas why or is there a workaround to allow control of a seperate
process without blocking the main process.
Thanks
Mark
__
________/\ \ __ Mark K. Lee "There is thin line between
/\ __ __ \ \/\_\ mlee@irus.rri.uwo.ca Genuis and Insanity and
\ \ \ \ \ \ \/ / / Advanced Imaging Group I'm stuck in a singularity"
\ \ \ \ \ \_\/ / Robarts Research Institute
\/_/\/_/\/___/ London, Ontario Canada
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/