# To subscribers of the xforms list from "Enrico De Filippo" <defilippo@lns.infn.it> :
Hi,
I use Xforms v1.0 in some Multithreading applications for a data acquisition
system on a PC Linux RedHat (8.0). Generally is only the main process that
access the Xlib via the Xforms library but in some case also a
secondary thread uses some Xlib functions (generally to write messages
on display). Thus, to have a better protection against Xlib errors,
I have inserted as first statement in the program:
XInitThreads();
Unfortunately, if I insert this, when I call fl_get_input() (to insert
a number or a string from keyboard) from a
forms that is managed my the main program (not by the thread) the
program is definitively blocked. What is wrong? Is there something
to do before calling fl_get_input()? The error is not present if I
eliminate XInitThreads();
Thanks. Enrico De Filippo
Physics Department, Catania
Italy
_________________________________________________
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://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Sat Feb 08 2003 - 06:27:31 EST