xquartz dereferencing a NULL pointer (patch 2)

Matthieu Herrb matthieu.herrb at laas.fr
Sun Nov 9 09:18:36 PST 2008


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.

-- 
Matthieu Herrb



More information about the xorg mailing list