Re: Xlib-error in threaded GTK+



Tomas Berndtsson <tomas@nocrew.org> writes:

> Simon Burton <simonb@webone.com.au> writes:
> 
> > Hi,
> > I have had this problem aswell.
> > A second thread is writing to some shared memory that
> > the X thread reads.
> 
> Well, it's not shm-memory in my case, but they do share memory areas,
> which has been allocated with malloc (not g_malloc).

This can't cause this sort of problem - an error like this almost
certainly indicates that you are making X calls from the second 
thread - probably there is some code path that you aren't
expecting which does it.

Regards,
                                        Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]