Joerg Bergmann wrote: > Thanks. I do not need atomic counters. I need only the counter to be set > to its new value before setting the boolean. But, as I have learned > from parallel programming: If one needs atomic counters, he mostly needs > atomic increase-and-check or atomic decrease-and-check. But that > functions seem not to be provided by atomic.h. Are they provided > elsewhere? Simple atomic increases or atomic decreases are without > need, in most cases. http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Atomic-Builtins.html Kevin Kofler -- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list