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

Re: thread support?



Richard.Dansereau@EE.UManitoba.CA writes:

> I haven't found any of the Xlib stuff thread safe either.  I'm doing
> some development using Xlib and did some basic testing under threads
> and found it would hang X-windows or even crash X-windows when
> trying to do threaded X-window calls.  I have found though that you
> can do threaded development using the current non-thread safe X
> libraries by carefully organizing your code.  I've relagated ONE
> thread to do ALL of my X calls, and the other threads to do my other
> number crunching.  I've had no problems with this and everything
> seems to work find.  It is a bit difficult though to design the code
> just right.

You might want to look at
/usr/doc/libc6/README.Xfree3.2.linuxthreads.gz after installing libc6.

I don't know if the default Debian X packages have this built in yet
or not...

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: