Threading

Claes Andersson (claesand@fy.chalmers.se)
Mon, 31 Mar 1997 16:04:01 +0200

To subscribers of the xforms list from Claes Andersson <claesand@fy.chalmers.se> :

Hi,

I am designing an application in which I want to display graphics continously
during execution. I figured that threads would be a good way of doing this but
since we've got X11R5 here (for some reason) it doesn't seem to work. As soon
as the thread makes an Xlib call, I get an x error and the program is
terminated. My guess is that Xforms' event handling sends stuff to the Xserver
whenever it pleases so that if I could only tell Xforms to quit making X calls
for a while, things would probably work fine. Does anyone know of a way to do
that? I'm only planning on using one thread and therefore, the eventloop's
behavior is the only thing I don't know how to control. If this doesn't work,
is there any other way of accomplishing the same thing?

Thanks in advance for any help!

Claes Andersson
_________________________________________________
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/xforms-archive/