xquartz dereferencing a NULL pointer (patch 2)

Simon Thum simon.thum at gmx.de
Mon Nov 10 11:36:34 PST 2008

Matthieu Herrb wrote:
> Simon Thum wrote:
>> Tiago Vignatti wrote:
>>> http://www.nongnu.org/avr-libc/user-manual/group__util__atomic.html
>>> Does we have this kind of thing in C libraries? It would be useful.
>> If I got it right, that's posix + pthreads functionality specialized for
>> an amtel platform. So in general, yes.
> Sorry, but no. These macros are not standard at all, and without
> explicit using of some kind of lock, there no portable way to handle
> atomicity in pthreads afaik.
Actually, I tried to argue that the functionality is covered by
posix+pthreads, as far as is needed at least. So 'yes' meant yes, we've
got that kind of thing covered, in some sense.
I didn't intend to argue for those macros in X at all. X should stick to
pthreads of course.

More information about the xorg mailing list