# To subscribers of the xforms list from Steve Lamont <spl@blinky.UCSD.Edu> :
> Sorry Steve probably some bits of my messages were not
> too much clear...but english is noy my primary language
> as you might have imagined.
Hey, better than my Italian, which consists of the words "spaghetti"
and "ciao." (I don't coun't "pizza" because American pizza resembles
Italian pizza only inasmuch as it is round -- and I'm not even certain
of that, come to think of it) :-)
> It doesn't work even if I DON'T USE THREADS in the program!
> I simply get an otherwise working XForms
> program (like yours without starting threads), no threads
> no anything strange, I add XInitThreads and voila' I get
> a crash when I press a key!
There very well may be some problem with the Linux (XFree86??)
implementation of XInitThreads() for single threaded applications.
Note that the manual page (at least the O'Reilly book's version and
the Solaris version) says "[i]t is recommended that single-threaded
programs not call this function."
We may be chasing a bug that we needn't chase, since we're dealing
with somewhat undefined behavior or at the very least a deprecated
instance of use. There's no need going around *asking* for trouble.
I would be more concerned if you call XInitThreads() in a threaded
application and it hangs. There would be a real bug.
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 : Sat Jun 17 2000 - 12:33:41 EDT