Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why my multi-threaded X11 app with LinuxThreads crashes?

0
10 Posted

Why my multi-threaded X11 app with LinuxThreads crashes?

0
10

> Wolfram Gloger wrote: > > > > jenoll@cs.nmsu.edu (Jeff Noll) wrote: > > > > > I’m making an X client that connects to a tcp socket. I’m using a > > > thread to continually read from that socket connection and a text > > > widget to sent to the socket. (an X telnet program that looks kind of > > > like ncftp, seperate input/output windows). When i run this at school > > > under solaris it seems to be fine, but when i take it home and try it > > > under linus using linuxthreads 0.5 it crashes when i start entering > > > into the text window. > > > > Crash as in `fatal’ X errors ? A while ago I had a similar experience > > when trying to create a multi-threaded X11 app with LinuxThreads. It > > was quite easy to debug though: the LinuxThreads libpthread library > > lets all threads get individual errno values (like they should), as > > long as all sources are compiled with _REENTRANT defined. > > > > The X11 libs (at least in XFree86-3.2) are by default not compiled in > > this way, unf

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123