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 _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
