# To subscribers of the xforms list from "Paolo Prandini" <firstname.lastname@example.org> :
Sorry if I seem repeating, I have already tried it...
In fact it works, but what about functions you can't control,
like when the user hits a button? I am to the point where
the program crashes only and always if the users hits a button
when I am updating something. It is exactly NOW that I need
to add mutexes to the source code of XForms. If I were enabled
to do that, then Xforms could become threadsafe. THAT is the
purpose of my first message.
> -----Messaggio originale-----
> Da: email@example.com [mailto:firstname.lastname@example.org]Per
> conto di Steve Lamont
> Inviato: giovedý 1 giugno 2000 20:26
> A: email@example.com
> Oggetto: Re: R: XForms: Threadsafe
> # To subscribers of the xforms list from Steve Lamont
> <firstname.lastname@example.org> :
> > 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.
> To unsubscribe, send the message "unsubscribe" to
> email@example.com or see
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
To unsubscribe, send the message "unsubscribe" to
firstname.lastname@example.org or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Fri Jun 02 2000 - 03:38:18 EDT