# To subscribers of the xforms list from Steve Lamont <spl@blinky.ucsd.edu> :
> Unfortunately I tried it and it is too slow for real time
> functions, like updating motor coordinates. They jump and
> are not updated smoothly , so it is impossible to control
> motion manually while checking them.
It looks as if I stand corrected regarding threads and X -- though I
haven't tried any experiments yet, reading through the O'Reily Xlib
manuals leads me to believe that the danger in X is reentrancy (it is
not reentrant), rather than concurrency, though there is a somewhat
ambiguous mention of threaded and multiprocessor architectures that
gives me pause.
You might try wrapping the XForms calls with pthread_mutexes. That
would be something of a kluge but it would be a workaround.
It's worth a try.
spl
_________________________________________________
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 : Thu Jun 01 2000 - 14:30:50 EDT