mutex error while throttling down a phenom CPU

Kevin Kofler kevin.kofler at chello.at
Tue Jan 20 03:06:38 UTC 2009


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




More information about the fedora-test-list mailing list