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

Re: xlibs not threadsafe?



Rob Browning <rlb@cs.utexas.edu> writes:

> Isaac Richards <ijr@po.cwru.edu> writes:
> 
> > Was the latest ver of Xfree (3.3.2.1-1) not compiled to be threadsafe?  I'm
> > getting the following error in all threaded X applications..
> > 
> > Xlib: unexpected async reply (sequence 0xab1)!

> Try this program.  It's what I use for testing...

[snip - XtToolkitThreadInitialize()]

That tests if X *thinks* it's thread-safe.  You need to actually set
up some threads and force some kind of scheduling to find out whether
they work.

IIRC, the way to tell they don't work is that you get unexpected
async() replies or I/O errors.

-- 
	 Carey Evans  http://home.clear.net.nz/pages/c.evans/

"[UNIX] appears to have the inside track on being the replacement for
  CP/M on the largest microcomputers (e.g. those based on 68000...)"


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: