XForms: Forking Behaviour

Steven Ness (sness@poirot.mmid.ualberta.ca)
Tue, 20 May 1997 11:38:53 -0600 (MDT)

To subscribers of the xforms list from Steven Ness <sness@poirot.mmid.ualberta.ca> :

I'm currently migrating a program from 0.84 to 0.86.1 and I'm noticing
some strange behaviour after I fork off a child process.

I'm executing fl_hide_object and fl_show_object on a FL_NORMAL_BROWSER.
Before forking off a child process, this browser gets hidden and reshown
properly. I'm just filling this browser with lines with
fl_addto_browser, after these addto commands, I have both right side and
bottom scroll bars.

After I fork off a child process, fl_hide_object hides most of the
browser but leaves the right side scroll bar shown (and strange enough, it's
still active, I can drag it up and down).

I'm forking off my child processes with fork().

This behaviour wasn't observed under 0.84.

Is there anything I have to do before executing a fork() call? I'm not
running graphics in the child process.

Thanks for your help,
Steven Ness
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/