Subject: Re: ThreadedX patch, take 2
To: Jason R Thorpe <email@example.com>
From: Valeriy E. Ushakov <firstname.lastname@example.org>
Date: 01/20/2003 12:47:23
On Mon, Jan 20, 2003 at 01:08:01 -0800, Jason R Thorpe wrote:
> > ico.o(.text+0x20d5): undefined reference to `pthread_mutex_unlock'
> > *** Error code 1 (continuing)
> Ah, I see what's happening here... It's using the Xthreads header file
> as a way to actually get the thread API for the program.
> This is Just Wrong. As far as I am aware, Xthreads.h is intended only
> (please correct me if I am wrong) for use in building thread-safe X
No. R6 Supplement claims in section 4.3, page 88, that X11/Xthreads.h
provides partial portable interface to thread primitives that programs
are encouraged to use instead of os-specific headers/functions to
email@example.com | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen